feat(main): 调整窗口最大宽度和高度并启用默认上下文菜单

- 将窗口最大宽度从 1280调整为 1920
- 启用默认上下文菜单
This commit is contained in:
spark 2025-02-01 13:18:43 +08:00
parent 71289d1408
commit f5aa70bf61

View File

@ -90,13 +90,14 @@ func main() {
Height: 920,
MinWidth: 1024,
MinHeight: 768,
MaxWidth: 1280,
MaxWidth: 1920,
MaxHeight: 960,
DisableResize: false,
Fullscreen: false,
Frameless: true,
StartHidden: false,
HideWindowOnClose: false,
EnableDefaultContextMenu: true,
BackgroundColour: &options.RGBA{R: 255, G: 255, B: 255, A: 255},
Assets: assets,
Menu: AppMenu,