Skip to content

Commit

Permalink
Revert flags change
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Sep 13, 2023
1 parent 8c72746 commit 8d33244
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions v3/pkg/application/application_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8d33244

Please sign in to comment.