Skip to content

Commit

Permalink
no resize on same size
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Dec 25, 2024
1 parent 2f7a832 commit dbc3c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/renderwindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ func (w *renderWindow) resized() {
if DebugSettings.WindowEventTrace {
fmt.Printf("Win: %v skipped same-size Resized: %v\n", w.name, curRg)
}
rc.logicalDPI = w.logicalDPI()
w.mains.resize(rg) // no-op if everyone below is good
// rc.logicalDPI = w.logicalDPI()
// w.mains.resize(rg) // no-op if everyone below is good
// still need to apply style even if size is same
for _, kv := range w.mains.stack.Order {
st := kv.Value
Expand Down

0 comments on commit dbc3c93

Please sign in to comment.