Revert flags change

This commit is contained in:
Lea Anthony
2023-09-13 16:11:23 +10:00
parent 8c72746edb
commit 8d3324465e
+3 -5
View File
@@ -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
}