1
0
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:
Gabor Kiss-Vamosi 2020-06-23 11:44:06 +02:00
parent e1c5d8950f
commit c0223977d1

View File

@ -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);
}
/**