From 6cd89628ee42dc4300e40a24487e7d25c520b684 Mon Sep 17 00:00:00 2001 From: mark9064 <30447455+mark9064@users.noreply.github.com> Date: Sun, 27 Oct 2024 20:37:22 +0000 Subject: [PATCH] Update for Clear Taps PR --- InfiniTime | 2 +- main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/InfiniTime b/InfiniTime index c8236af..57b6db8 160000 --- a/InfiniTime +++ b/InfiniTime @@ -1 +1 @@ -Subproject commit c8236afbefbcc4e22150da7324617d853561a0c5 +Subproject commit 57b6db8b2a24e7303b79ea5439df655317af0196 diff --git a/main.cpp b/main.cpp index 70f0aa4..f278b7f 100644 --- a/main.cpp +++ b/main.cpp @@ -911,12 +911,12 @@ class Framework { const bool right_click = (buttons & SDL_BUTTON_RMASK) != 0; if (left_click) { left_release_sent = false; - systemTask.OnTouchEvent(); + systemTask.PushMessage(Pinetime::System::Messages::OnTouchEvent); return; } else { if (!left_release_sent) { left_release_sent = true; - systemTask.OnTouchEvent(); + systemTask.PushMessage(Pinetime::System::Messages::OnTouchEvent); return; } }