Skip to content

Commit

Permalink
fix(colowheel) disable LV_OBJ_FLAG_SCROLL_CHAIN by default
Browse files Browse the repository at this point in the history
kisvegabor committed Jun 14, 2021
1 parent 69d109d commit 48d1c29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extra/widgets/colorwheel/lv_colorwheel.c
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 48d1c29

Please sign in to comment.