fix(line): do not increase sel size with line width

It messes up the alignment

fixes #4251
This commit is contained in:
Gabor Kiss-Vamosi
2023-05-29 11:20:17 +02:00
parent 236c1e0c73
commit d4d0034e2a

View File

@@ -170,9 +170,6 @@ static void lv_line_event(const lv_obj_class_t * class_p, lv_event_t * e)
}
}
lv_coord_t line_width = lv_obj_get_style_line_width(obj, LV_PART_MAIN);
w += line_width;
h += line_width;
p->x = w;
p->y = h;
}