mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
[windows-x] Fix accelerator key handling
This commit is contained in:
parent
af593ef47a
commit
a861aa36b9
1 changed files with 3 additions and 0 deletions
|
|
@ -171,6 +171,9 @@ func (f *Frontend) setupChromium() {
|
|||
chromium.MessageCallback = f.processMessage
|
||||
chromium.WebResourceRequestedCallback = f.processRequest
|
||||
chromium.NavigationCompletedCallback = f.navigationCompleted
|
||||
chromium.AcceleratorKeyCallback = func(_ uint) {
|
||||
// TODO: Link to standard application shortcuts
|
||||
}
|
||||
chromium.Embed(f.mainWindow.Handle())
|
||||
chromium.Resize()
|
||||
settings, err := chromium.GetSettings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue