Fix scroll inertia (again) (#38)

* fix scroll inertia

* scroll inertia now works like before touch on/off changes
This commit is contained in:
Malte Langermann
2021-11-26 21:37:29 +11:00
committed by GitHub
parent 4e1cba2bad
commit 1a886dee5f
-2
View File
@@ -82,8 +82,6 @@ void MainWindow::checkEvents()
touchState = touchPanelRead();
touchState.lastDeltaX = lastDeltaX;
touchState.lastDeltaY = lastDeltaY;
} else {
touchState.event = TE_NONE;
}
TouchEnableState currentState = touchEnableState;