Fix scroll inertia (again) (#38)
* fix scroll inertia * scroll inertia now works like before touch on/off changes
This commit is contained in:
@@ -82,8 +82,6 @@ void MainWindow::checkEvents()
|
|||||||
touchState = touchPanelRead();
|
touchState = touchPanelRead();
|
||||||
touchState.lastDeltaX = lastDeltaX;
|
touchState.lastDeltaX = lastDeltaX;
|
||||||
touchState.lastDeltaY = lastDeltaY;
|
touchState.lastDeltaY = lastDeltaY;
|
||||||
} else {
|
|
||||||
touchState.event = TE_NONE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TouchEnableState currentState = touchEnableState;
|
TouchEnableState currentState = touchEnableState;
|
||||||
|
|||||||
Reference in New Issue
Block a user