1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(label) calculating the clip area

This commit is contained in:
Gabor Kiss-Vamosi 2021-06-02 13:22:55 +02:00
parent 29bfe60438
commit 57e211cc17

View File

@ -857,7 +857,7 @@ static void draw_main(lv_event_t * e)
#endif
lv_area_t txt_clip;
bool is_common = _lv_area_intersect(&txt_clip, clip_area, clip_area);
bool is_common = _lv_area_intersect(&txt_clip, &txt_coords, clip_area);
if(!is_common) return;
if(label->long_mode == LV_LABEL_LONG_WRAP) {