Skip to content

Commit 56433aa

Browse files
committed
Add comment reminding of the need for a gutter
Needed to properly implement abort on move outside keyboard (1f1914d)
1 parent ee08a56 commit 56433aa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/main/java/io/github/yawnoc/strokeinput/InputContainer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ private static int getContrastingColour(final int colour) {
238238

239239
/*
240240
Handle logic for multiple pointers (e.g. two-thumb typing).
241+
The correct handling of a pointer moving outside the keyboard
242+
is ensured by including a 1-pixel gutter at the top of the keyboard
243+
(so that the pointer must move through a key-free row of pixels).
241244
// TODO: fix unexpected behaviour when two pointers merge
242245
*/
243246
@SuppressLint("ClickableViewAccessibility")

0 commit comments

Comments
 (0)