Fix bug in action keys

This commit is contained in:
Aleksandras Kostarevas 2024-08-24 10:51:39 +03:00
parent 3fbf2176df
commit 9dde4679e4

View File

@ -1136,7 +1136,7 @@ public final class PointerTracker implements PointerTrackerQueue.Element,
} }
} }
if (code > Constants.CODE_ACTION_0 && code < Constants.CODE_ACTION_MAX) { if (code >= Constants.CODE_ACTION_0 && code <= Constants.CODE_ACTION_MAX) {
cancelKeyTracking(); cancelKeyTracking();
sListener.onCodeInput( sListener.onCodeInput(
code - Constants.CODE_ACTION_0 + Constants.CODE_ALT_ACTION_0, code - Constants.CODE_ACTION_0 + Constants.CODE_ALT_ACTION_0,