Skip to content

Add toolbar to file browser #23874

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 8 commits into from
Feb 22, 2025
Merged
Changes from 1 commit
Commits
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
Adjust minimum window size to prevent overly small browsers
  • Loading branch information
AaronVanGeffen committed Feb 22, 2025
commit 85e73e43042fc4d9eff85d553c0e290a7380cead
4 changes: 2 additions & 2 deletions src/openrct2-ui/windows/LoadSave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ namespace OpenRCT2::Ui::Windows
#pragma region Widgets

static constexpr ScreenSize kWindowSizeInit = { 400, 350 };
static constexpr ScreenSize kWindowSizeMin = kWindowSizeInit / 2;
static constexpr ScreenSize kWindowSizeMax = kWindowSizeInit * 2;
static constexpr ScreenSize kWindowSizeMin = { 300, kWindowSizeInit.height / 2 };
static constexpr ScreenSize kWindowSizeMax = kWindowSizeInit * 3;

static constexpr int kKibiByte = 1024;
static constexpr int kMebiByte = kKibiByte * 1024;
Expand Down