mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-03 06:07:41 +00:00
Merge pull request #11783 from keymanapp/fix/web/longpress-key-id-with-modifier
fix(web): fix id of longpress keys with modifier set in touch layout
This commit is contained in:
commit
4da8b0a792
1 changed files with 1 additions and 2 deletions
|
|
@ -16,8 +16,7 @@ export default class OSKSubKey extends OSKKey {
|
|||
}
|
||||
|
||||
getId(): string {
|
||||
// Create (temporarily) unique ID by prefixing 'popup-' to actual key ID
|
||||
return 'popup-'+this.layer+'-'+this.spec['id'];
|
||||
return 'popup-'+this.spec.elementID;
|
||||
}
|
||||
|
||||
construct(osk: VisualKeyboard, baseKey: KeyElement, width: number, topMargin: boolean): HTMLDivElement {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue