mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-10 10:55:33 +00:00
fix(web): unneeded source-completion check
The removed block could cause race-condition-like errors due to async input handling
This commit is contained in:
parent
1a3d7a263c
commit
d2ba7e2e36
1 changed files with 0 additions and 4 deletions
|
|
@ -127,10 +127,6 @@ export class GestureMatcher<Type, StateToken = any> implements PredecessorMatch<
|
|||
baseContact = srcContact.baseSource;
|
||||
}
|
||||
|
||||
if(baseContact.isPathComplete) {
|
||||
throw new Error("GestureMatcher may not be built against already-completed contact points");
|
||||
}
|
||||
|
||||
const contactSpec = model.contacts[touchpointIndex];
|
||||
/* c8 ignore next 3 */
|
||||
if(!contactSpec) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue