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

fix(colowheel) disable LV_OBJ_FLAG_SCROLL_CHAIN by default

This commit is contained in:
Gabor Kiss-Vamosi 2021-06-14 10:27:55 +02:00
parent 69d109d2f4
commit 48d1c292a3

View File

@ -226,6 +226,7 @@ static void lv_colorwheel_constructor(const lv_obj_class_t * class_p, lv_obj_t *
colorwheel->knob.recolor = create_knob_recolor;
lv_obj_add_flag(obj, LV_OBJ_FLAG_ADV_HITTEST);
lv_obj_clear_flag(obj, LV_OBJ_FLAG_SCROLL_CHAIN);
refr_knob_pos(obj);
}