mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
feat: reaset timeout tick on tap
This commit is contained in:
parent
756b4f9dcd
commit
c22a9df2cc
|
@ -429,6 +429,9 @@ bool WatchFaceCasioStyleG7710::IsAvailable(Pinetime::Controllers::FS& filesystem
|
|||
}
|
||||
|
||||
bool WatchFaceCasioStyleG7710::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
|
||||
if (lv_obj_get_hidden(btnClose) == false) {
|
||||
savedTick = lv_tick_get();
|
||||
}
|
||||
if ((event == Pinetime::Applications::TouchEvents::LongTap) && lv_obj_get_hidden(btnClose)) {
|
||||
lv_obj_set_hidden(btnWeather, false);
|
||||
lv_obj_set_hidden(btnClose, false);
|
||||
|
|
Loading…
Reference in a new issue