mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-04 16:05:31 +00:00
Merge pull request #16297 from keymanapp/chore/web/16292_keyboardloadedEvent
chore(web): fire `keyboardloaded` event only once per keyboard Previously we fired `keyboardloaded` twice for each loaded keyboard. This change fixes this. Fixes: #16292
This commit is contained in:
commit
ae493ad368
1 changed files with 0 additions and 4 deletions
|
|
@ -330,10 +330,6 @@ export class KeymanEngineBase<
|
|||
this.config.deferForInitialization.then(eventRaiser);
|
||||
}
|
||||
});
|
||||
|
||||
this.keyboardRequisitioner.cache.on('keyboardadded', (keyboard) => {
|
||||
this.legacyAPIEvents.callEvent('keyboardloaded', { keyboardName: keyboard.id });
|
||||
});
|
||||
//
|
||||
// #endregion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue