Skip to content

Commit

Permalink
fix: Prevent native scaling from going below 1.0 on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Feb 1, 2023
1 parent 79ecf7f commit fd259dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/source/init/splash_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ namespace hex::init {
meanScale = 1.0F;

#if defined(OS_MACOS)
meanScale /= 2.0F;
meanScale = std::max(meanScale, 1.0F);
#endif

ImHexApi::System::impl::setGlobalScale(meanScale);
Expand Down

0 comments on commit fd259dc

Please sign in to comment.