1
0
Fork 0

Disable DoubleTap when settings buttons are displayed

This commit is contained in:
Kieran Cawthray 2021-10-18 23:04:12 +02:00
parent 1c86796eac
commit c4ab17f587

View file

@ -306,6 +306,9 @@ bool PineTimeStyle::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
savedTick = lv_tick_get();
return true;
}
if ((event == Pinetime::Applications::TouchEvents::DoubleTap) && (lv_obj_get_hidden(btnRandom) == false)) {
return true;
}
return false;
}