mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
simplify key handling logic
This commit is contained in:
parent
eedd5eb7d2
commit
fb46cce963
1 changed files with 1 additions and 1 deletions
|
|
@ -1353,7 +1353,7 @@ func onKeyPressEvent(widget *C.GtkWidget, event *C.GdkEventKey, userData C.uintp
|
|||
acceleratorString: accelerator,
|
||||
}
|
||||
}
|
||||
return C.gboolean(0)
|
||||
return C.gboolean(1)
|
||||
}
|
||||
|
||||
func getKeyboardState(event *C.GdkEventKey) (string, bool) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue