From 1a886dee5f1c4577805c9d5b8e9081edfa2d1eba Mon Sep 17 00:00:00 2001 From: Malte Langermann <54738901+gagarinlg@users.noreply.github.com> Date: Fri, 26 Nov 2021 11:37:29 +0100 Subject: [PATCH] Fix scroll inertia (again) (#38) * fix scroll inertia * scroll inertia now works like before touch on/off changes --- radio/src/thirdparty/libopenui/src/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/radio/src/thirdparty/libopenui/src/mainwindow.cpp b/radio/src/thirdparty/libopenui/src/mainwindow.cpp index fea41da9a..09cc3d37e 100644 --- a/radio/src/thirdparty/libopenui/src/mainwindow.cpp +++ b/radio/src/thirdparty/libopenui/src/mainwindow.cpp @@ -82,8 +82,6 @@ void MainWindow::checkEvents() touchState = touchPanelRead(); touchState.lastDeltaX = lastDeltaX; touchState.lastDeltaY = lastDeltaY; - } else { - touchState.event = TE_NONE; } TouchEnableState currentState = touchEnableState;