chore(web): fire keyboardloaded event only once per keyboard

Previously we fired `keyboardloaded` twice for each loaded keyboard.
This change fixes this.

Fixes: #16292
Build-bot: skip build:web
Test-bot: skip
This commit is contained in:
Eberhard Beilharz 2026-08-03 17:39:19 +02:00
parent 3f01c45aa6
commit 1eb58c4ef8
No known key found for this signature in database
GPG key ID: E9140597606020D3

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