mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
[windows] Support more accelerator keys
This commit is contained in:
@@ -136,6 +136,7 @@ func createApplicationMenu(hwnd uintptr) {
|
||||
|
||||
//export handleKeypressInGo
|
||||
func handleKeypressInGo(keycode uint16, modifiers uint8) {
|
||||
//fmt.Printf("Key code: %#x\n", keycode)
|
||||
menuID, menuType := getCallbackForKeyPress(keycode, modifiers)
|
||||
if menuID == "" {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user