mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
simplify key handling logic
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user