5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-11 22:49:29 +08:00

[v3 linux] noop: handleKeyEvent skeleton

This commit is contained in:
Travis McLane 2023-09-21 15:46:14 -05:00
parent 56b0fcebba
commit 03b79e9a67

View File

@ -465,3 +465,13 @@ func (w *linuxWebviewWindow) print() error {
w.execJS("window.print();")
return nil
}
func (w *linuxWebviewWindow) handleKeyEvent(acceleratorString string) {
// Parse acceleratorString
// accelerator, err := parseAccelerator(acceleratorString)
// if err != nil {
// globalApplication.error("unable to parse accelerator: %s", err.Error())
// return
// }
w.parent.processKeyBinding(acceleratorString)
}