mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
roller: fix misaligned option after setting new options
This commit is contained in:
parent
e1c5d8950f
commit
c0223977d1
@ -188,9 +188,9 @@ void lv_roller_set_options(lv_obj_t * roller, const char * options, lv_roller_mo
|
||||
ext->sel_opt_id_ori = ext->sel_opt_id;
|
||||
|
||||
|
||||
// refr_width(roller);
|
||||
// refr_height(roller);
|
||||
refr_position(roller, LV_ANIM_OFF);
|
||||
refr_height(roller);
|
||||
refr_width(roller);
|
||||
// refr_position(roller, LV_ANIM_OFF);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user