Skip to content

Commit 61901f9

Browse files
committed
Reorder sendShiftMoveToEvent statements
per the ordering in f7edf54
1 parent 23c8244 commit 61901f9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,13 +578,12 @@ private void sendShiftDownEvent(final int pointerId) {
578578
private void sendShiftMoveToEvent(final int pointerId) {
579579

580580
shiftMode = SHIFT_HELD;
581+
shiftPointerId = pointerId;
581582

582583
activeKey = null;
583-
removeAllExtendedPressHandlerMessages();
584-
585584
activePointerId = NONEXISTENT_POINTER_ID;
586-
shiftPointerId = pointerId;
587585

586+
removeAllExtendedPressHandlerMessages();
588587
invalidate();
589588
}
590589

0 commit comments

Comments
 (0)