summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/List.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-08-28 15:06:03 +0200
committerGitHub <noreply@github.com>2021-08-28 15:06:03 +0200
commit969de9a8bccfa97da29de2eac61be9325dd2fdaa (patch)
tree820a3bbe74993ff6ce6b7f430d187a397a46f363 /src/displayapp/screens/List.cpp
parentdf8ea7fe523bb9ec0ac3e24f0b1bebe5743d90cc (diff)
parent85c99797dad39348976d92ecf935536f362ee2c5 (diff)
Merge pull request #492 from Riksu9000/new_touch_handler
New touch handler
Diffstat (limited to 'src/displayapp/screens/List.cpp')
-rw-r--r--src/displayapp/screens/List.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/List.cpp b/src/displayapp/screens/List.cpp
index eb53820b..91cab9f0 100644
--- a/src/displayapp/screens/List.cpp
+++ b/src/displayapp/screens/List.cpp
@@ -104,7 +104,7 @@ bool List::Refresh() {
}
void List::OnButtonEvent(lv_obj_t* object, lv_event_t event) {
- if (event == LV_EVENT_RELEASED) {
+ if (event == LV_EVENT_CLICKED) {
for (int i = 0; i < MAXLISTITEMS; i++) {
if (apps[i] != Apps::None && object == itemApps[i]) {
app->StartApp(apps[i], DisplayApp::FullRefreshDirections::Up);