mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-12 11:55:32 +00:00
chore(web): Merge branch 'feat/web/recognizer-multipoint-tracking' into feat/web/recognizer-input-unit-testing
This commit is contained in:
commit
f04a0a488e
2 changed files with 5 additions and 8 deletions
|
|
@ -118,7 +118,7 @@ namespace com.keyman.osk {
|
|||
if(!event.buttons) {
|
||||
if(this.hasActiveClick) {
|
||||
this.hasActiveClick = false;
|
||||
this.onInputMoveCancel(this.activeIdentifier);
|
||||
this.onInputMoveCancel(this.activeIdentifier, sample);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -128,7 +128,7 @@ namespace com.keyman.osk {
|
|||
if(!ZoneBoundaryChecker.inputMoveCancellationCheck(sample, this.config, this.disabledSafeBounds)) {
|
||||
this.onInputMove(this.activeIdentifier, sample);
|
||||
} else {
|
||||
this.onInputMoveCancel(this.activeIdentifier);
|
||||
this.onInputMoveCancel(this.activeIdentifier, sample);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -141,8 +141,7 @@ namespace com.keyman.osk {
|
|||
this.hasActiveClick = false;
|
||||
}
|
||||
|
||||
const sample = this.buildSampleFromEvent(event);
|
||||
this.onInputEnd(this.activeIdentifier, sample);
|
||||
this.onInputEnd(this.activeIdentifier);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -119,7 +119,7 @@ namespace com.keyman.osk {
|
|||
if(!ZoneBoundaryChecker.inputMoveCancellationCheck(sample, this.config, this.safeBoundMaskMap[touch.identifier])) {
|
||||
this.onInputMove(touch.identifier, sample);
|
||||
} else {
|
||||
this.onInputMoveCancel(touch.identifier);
|
||||
this.onInputMoveCancel(touch.identifier, sample);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -134,9 +134,7 @@ namespace com.keyman.osk {
|
|||
|
||||
this.preventPropagation(event);
|
||||
|
||||
const sample = this.buildSampleFromTouch(touch);
|
||||
|
||||
this.onInputEnd(touch.identifier, sample);
|
||||
this.onInputEnd(touch.identifier);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue