Skip to content

Commit

Permalink
No timeouts with touch disabling turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandlo committed Nov 1, 2022
1 parent e276080 commit 489b814
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/inputdevices/HandRecognition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ void HandRecognition::disableTouch() {
* An event from a device occurred
*/
void HandRecognition::event(InputDeviceClass device) {
if (!enabled) {
return;
}
if (device == INPUT_DEVICE_PEN || device == INPUT_DEVICE_ERASER) {
penEvent();
}
Expand Down

0 comments on commit 489b814

Please sign in to comment.