fix(color): output channel may not get focus when user taps on screen (#6271)

This commit is contained in:
philmoz
2025-05-18 08:36:48 +10:00
committed by GitHub
parent 08b2b1a63a
commit fd9802184d
@@ -35,6 +35,8 @@ ChannelBar::ChannelBar(Window* parent, const rect_t& rect, uint8_t channel,
Window(parent, rect), channel(channel),
getValue(std::move(getValueFunc))
{
lv_obj_clear_flag(lvobj, LV_OBJ_FLAG_CLICKABLE);
etx_solid_bg(lvobj, COLOR_THEME_PRIMARY2_INDEX);
bar = lv_obj_create(lvobj);