Keyboard popup (#1625)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-05-04 15:08:12 +07:00
committed by GitHub
parent 0cec2cb1d1
commit 8d7e3078e1
63 changed files with 1627 additions and 909 deletions
-3
View File
@@ -94,9 +94,6 @@ function getId (d: Doc): Ref<Doc> {
} else if (d._class === ('workbench:class:Application' as Ref<Doc>)) {
const cr = d as any
return ('workbench.app.' + (cr.label as string)) as Ref<Doc>
} else if (d._class === ('view:class:ActionTarget' as Ref<Doc>)) {
const cr = d as any
return ((cr.target as string) + '.' + (cr.action as string)) as Ref<Doc>
} else if (d._class === ('server-core:class:Trigger' as Ref<Doc>)) {
const cr = d as any
return cr.trigger as string as Ref<Doc>