Skip to content

Prevent some unnecessary window invalidations #24433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore original extra viewport opening window size
  • Loading branch information
mixiate committed May 22, 2025
commit b84caf8da6621f3b919c29b16b5be6e9524ac81c
2 changes: 1 addition & 1 deletion src/openrct2-ui/windows/Viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,6 @@ namespace OpenRCT2::Ui::Windows

WindowBase* ViewportOpen()
{
return GetWindowManager()->Create<ViewportWindow>(WindowClass::Viewport, 300, 300, WF_RESIZABLE);
return GetWindowManager()->Create<ViewportWindow>(WindowClass::Viewport, WW, WH, WF_RESIZABLE);
}
} // namespace OpenRCT2::Ui::Windows