https://kotlinlang.org logo
Title
k

kevin

08/24/2021, 7:54 AM
Should menu shortcut keys work? I have a menu that looks like this
MenuBar {
Menu("File") {
Item(
"Open",
onClick = { openFileAction.value = true },
shortcut = KeyShortcut(Key.O, meta = true)
)
}
}
The menu works but I can’t get the shortcut to work (this is on a Mac) on the alpha build.
1
i

Igor Demin

08/24/2021, 7:58 AM
k

kevin

08/24/2021, 10:31 AM
Thank you