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:
Joshua A. Horton 2023-10-27 13:15:44 +07:00
parent 1a3d7a263c
commit d2ba7e2e36

View file

@ -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) {