1
0
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:
embeddedt 2019-04-09 08:56:16 -04:00 committed by GitHub
commit 3d7641733e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {
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);