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:
Eberhard Beilharz 2026-08-04 11:54:52 +02:00 committed by GitHub
commit ae493ad368
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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