mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 08:54:52 +08:00
fix lv_label_get_letter_on in case of multi-line texts
This commit is contained in:
@@ -766,7 +766,7 @@ uint16_t lv_label_get_letter_on(const lv_obj_t * label, lv_point_t * pos)
|
|||||||
logical_pos = lv_encoded_get_char_id(bidi_txt, i);
|
logical_pos = lv_encoded_get_char_id(bidi_txt, i);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return logical_pos;
|
return logical_pos + line_start;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user