mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix build error
This commit is contained in:
parent
be19e91e91
commit
42f79763e1
@ -3753,7 +3753,11 @@ static lv_res_t lv_obj_signal(lv_obj_t * obj, lv_signal_t sign, void * param)
|
|||||||
lv_obj_clear_state(obj, LV_STATE_PRESSED);
|
lv_obj_clear_state(obj, LV_STATE_PRESSED);
|
||||||
}
|
}
|
||||||
else if(sign == LV_SIGNAL_FOCUS) {
|
else if(sign == LV_SIGNAL_FOCUS) {
|
||||||
if(lv_group_get_editing(lv_obj_get_group(obj))) {
|
bool editing = false;
|
||||||
|
#if LV_USE_GROUP
|
||||||
|
editing = lv_group_get_editing(lv_obj_get_group(obj));
|
||||||
|
#endif
|
||||||
|
if(editing) {
|
||||||
uint8_t state = LV_STATE_FOCUSED;
|
uint8_t state = LV_STATE_FOCUSED;
|
||||||
state |= LV_STATE_EDITED;
|
state |= LV_STATE_EDITED;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user