perf: enable default context menu #73
This commit is contained in:
parent
bfb5407030
commit
28eb393a82
15
main.go
15
main.go
|
@ -45,13 +45,14 @@ func main() {
|
||||||
|
|
||||||
// Create application with options
|
// Create application with options
|
||||||
err := wails.Run(&options.App{
|
err := wails.Run(&options.App{
|
||||||
Title: "Tiny RDM",
|
Title: "Tiny RDM",
|
||||||
Width: windowWidth,
|
Width: windowWidth,
|
||||||
Height: windowHeight,
|
Height: windowHeight,
|
||||||
MinWidth: consts.MIN_WINDOW_WIDTH,
|
MinWidth: consts.MIN_WINDOW_WIDTH,
|
||||||
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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue