diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-07-16 08:55:29 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-07-16 08:55:29 (GMT) |
| commit | 329482f87308c185e970b141bcbfe9c83b46c4da (patch) | |
| tree | d26143a1994f306c675e6f4f317c3ba457f102b3 /src/displayapp/DisplayApp.cpp | |
| parent | baffa1594f9c1a03a95f0cc10955e3cf8bf880ce (diff) | |
Fix remaining known issues
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
| -rw-r--r-- | src/displayapp/DisplayApp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index 945f182..1ff8d51 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -226,7 +226,9 @@ void DisplayApp::Refresh() { } } - currentScreen->OnTouchEvent(touchHandler.GetX(), touchHandler.GetY()); + if (touchHandler.IsTouching()) { + currentScreen->OnTouchEvent(touchHandler.GetX(), touchHandler.GetY()); + } if (nextApp != Apps::None) { LoadApp(nextApp, nextDirection); |
