summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-10-18 23:04:12 +0200
committerKieran Cawthray <kieranc@gmail.com>2021-10-18 23:04:12 +0200
commitc4ab17f58707771256c6fffd8db63d32e2831610 (patch)
tree1c7ab208c391709494c7e0f700a9c57b4a9f2e4c /src
parent1c86796eac20f6f8c3e6c1973fa080ef15bd7f3f (diff)
Disable DoubleTap when settings buttons are displayed
Diffstat (limited to 'src')
-rw-r--r--src/displayapp/screens/PineTimeStyle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/displayapp/screens/PineTimeStyle.cpp b/src/displayapp/screens/PineTimeStyle.cpp
index ad1b45eb..6dd8f485 100644
--- a/src/displayapp/screens/PineTimeStyle.cpp
+++ b/src/displayapp/screens/PineTimeStyle.cpp
@@ -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;
}