fix(color): Slider control blocking RTN key, slider rotEnc activation (#3966)

* Fix for slider control blocking RTN key.

* Fix rotary encoder activation for slider.
This commit is contained in:
philmoz
2023-08-26 21:18:35 +10:00
committed by GitHub
parent c2bebfbbd3
commit 7aadf5e3ef
2 changed files with 4 additions and 1 deletions
@@ -523,6 +523,9 @@ void etx_slider_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj)
lv_obj_add_style(obj, &styles.circle, LV_PART_KNOB);
lv_obj_add_style(obj, &styles.bg_color_focus, LV_PART_MAIN | LV_STATE_FOCUSED);
lv_obj_add_style(obj, &styles.bg_color_focus, LV_PART_MAIN | LV_STATE_FOCUSED | LV_STATE_EDITED);
lv_obj_add_style(obj, &styles.bg_color_focus, LV_PART_INDICATOR | LV_STATE_FOCUSED);
lv_obj_add_style(obj, &styles.bg_color_focus, LV_PART_INDICATOR | LV_STATE_FOCUSED | LV_STATE_EDITED);
lv_obj_add_style(obj, &styles.bg_color_edit, LV_PART_KNOB | LV_STATE_FOCUSED | LV_STATE_EDITED);
}
void etx_btnmatrix_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj)