mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Merge pull request #1009 from joltwallet/indev_release_fix
lv_indev button release fix
This commit is contained in:
commit
3d7641733e
@ -495,6 +495,7 @@ static void indev_keypad_proc(lv_indev_t * i, lv_indev_data_t * data)
|
|||||||
|
|
||||||
if(i->proc.long_pr_sent == 0) {
|
if(i->proc.long_pr_sent == 0) {
|
||||||
lv_event_send(focused, LV_EVENT_SHORT_CLICKED, NULL);
|
lv_event_send(focused, LV_EVENT_SHORT_CLICKED, NULL);
|
||||||
|
if(i->proc.reset_query) return; /*The object might be deleted*/
|
||||||
}
|
}
|
||||||
|
|
||||||
lv_event_send(focused, LV_EVENT_CLICKED, NULL);
|
lv_event_send(focused, LV_EVENT_CLICKED, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user