fix BIDI support in dropdown list

This commit is contained in:
Gabor Kiss-Vamosi
2020-09-27 14:47:11 +02:00
parent 71669c252c
commit ffd9b872d9
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
### Bugfixes
- Fix selection of options with non-ASCII letters in dropdown list
- Fix font loader to support LV_FONT_FMT_TXT_LARGE
- Fix BIDI support in dropdown list
## v7.5.0 (15.09.2020)

View File

@@ -588,6 +588,8 @@ void lv_dropdown_open(lv_obj_t * ddlist)
lv_obj_add_protect(ext->page, LV_PROTECT_POS | LV_PROTECT_CLICK_FOCUS);
lv_obj_add_protect(lv_page_get_scrollable(ext->page), LV_PROTECT_CLICK_FOCUS);
lv_obj_set_base_dir(ext->page, lv_obj_get_base_dir(ddlist));
if(ancestor_page_signal == NULL) ancestor_page_signal = lv_obj_get_signal_cb(ext->page);
if(ancestor_page_scrl_signal == NULL) ancestor_page_scrl_signal = lv_obj_get_signal_cb(lv_page_get_scrollable(
ext->page));