fix the addition of pressed and focused states

This commit is contained in:
Gabor Kiss-Vamosi 2020-04-24 12:34:17 +02:00
parent 68f93723df
commit d4384829c6

View File

@ -3606,7 +3606,7 @@ static lv_res_t lv_obj_signal(lv_obj_t * obj, lv_signal_t sign, void * param)
}
else {
lv_obj_add_state(obj, LV_STATE_FOCUSED);
lv_obj_clear_state(obj, LV_STATE_EDITED | LV_STATE_PRESSED);
lv_obj_clear_state(obj, LV_STATE_EDITED);
}
}
else if(sign == LV_SIGNAL_DEFOCUS) {