mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
chore(indev): duplicate statements removed (#5194)
Co-authored-by: cnjhb <hikariz@qq.com>
This commit is contained in:
parent
304a3c3573
commit
f43f5f74b5
@ -844,10 +844,6 @@ static void indev_encoder_proc(lv_indev_t * i, lv_indev_data_t * data)
|
||||
data->enc_diff = 0;
|
||||
}
|
||||
|
||||
/*Refresh the focused object. It might change due to lv_group_focus_prev/next*/
|
||||
indev_obj_act = lv_group_get_focused(g);
|
||||
if(indev_obj_act == NULL) return;
|
||||
|
||||
const bool is_disabled = lv_obj_has_state(indev_obj_act, LV_STATE_DISABLED);
|
||||
|
||||
/*Button press happened*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user