mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-11 08:27:27 +00:00
fix(web): fix id of longpress keys with modifier set in touch layout
Fixes: #11782 Cherry-pick-of: #11783
This commit is contained in:
parent
e6c7d041e4
commit
9dbf95ee72
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, topMargin: boolean): HTMLDivElement {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue