Reset timer by long pressing on the button (#1214)

* Reset timer by long pressing on the button

* Consider press_lost as released

Otherwise the bar would keep increasing if the finger slid off the
button
This commit is contained in:
Riku Isokoski
2022-07-21 22:53:36 +03:00
committed by GitHub
parent 411f2d19e1
commit 9ee1160578
4 changed files with 99 additions and 26 deletions

View File

@@ -678,7 +678,7 @@ typedef void* lv_obj_user_data_t;
#endif
/*Mask (dependencies: -)*/
#define LV_USE_OBJMASK 0
#define LV_USE_OBJMASK 1
/*Message box (dependencies: lv_rect, lv_btnm, lv_label)*/
#define LV_USE_MSGBOX 0