mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Revert flags change
This commit is contained in:
@@ -57,12 +57,10 @@ func (m *windowsApp) GetFlags(options Options) map[string]any {
|
||||
if options.Flags == nil {
|
||||
options.Flags = make(map[string]any)
|
||||
}
|
||||
if options.Flags["system"] == nil {
|
||||
options.Flags["system"] = make(map[string]any)
|
||||
options.Flags["system"] = map[string]any{
|
||||
"resizeHandleWidth": w32.GetSystemMetrics(w32.SM_CXSIZEFRAME),
|
||||
"resizeHandleHeight": w32.GetSystemMetrics(w32.SM_CYSIZEFRAME),
|
||||
}
|
||||
options.Flags["system"]["resizeHandleWidth"] = w32.GetSystemMetrics(w32.SM_CXSIZEFRAME)
|
||||
options.Flags["system"]["resizeHandleHeight"] = w32.GetSystemMetrics(w32.SM_CYSIZEFRAME)
|
||||
|
||||
return options.Flags
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user