mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-14 20:59:25 +00:00
fix(web): subview construction for terminated sources
This commit is contained in:
parent
83bc0da535
commit
b3714a02e8
1 changed files with 6 additions and 0 deletions
|
|
@ -371,6 +371,12 @@ export class GestureSourceSubview<HoveredItemType, StateToken = any> extends Ges
|
|||
baseSource.path.off('invalidated', invalidatedHook);
|
||||
baseSource.path.off('step', stepHook);
|
||||
}
|
||||
|
||||
// If the path was already completed, that should be reflected here, too.
|
||||
if(baseSource.isPathComplete) {
|
||||
this.path.terminate((baseSource.path.wasCancelled));
|
||||
this.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
private get recognizerTranslation() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue