perf: enable default context menu #73

This commit is contained in:
Lykin 2023-11-23 11:12:45 +08:00
parent bfb5407030
commit 28eb393a82
1 changed files with 8 additions and 7 deletions

View File

@ -52,6 +52,7 @@ func main() {
MinHeight: consts.MIN_WINDOW_HEIGHT, MinHeight: consts.MIN_WINDOW_HEIGHT,
Frameless: runtime.GOOS != "darwin", Frameless: runtime.GOOS != "darwin",
Menu: appMenu, Menu: appMenu,
EnableDefaultContextMenu: true,
AssetServer: &assetserver.Options{ AssetServer: &assetserver.Options{
Assets: assets, Assets: assets,
}, },