Skip to content

Commit

Permalink
Hotfix global scale (yet again)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaGW2 authored Apr 9, 2024
1 parent 697b476 commit faac836
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GUI/GUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,10 +585,10 @@ namespace GUI
{
ImGuiIO& io = ImGui::GetIO();
Settings::Settings[OPT_GLOBALSCALE].get_to(io.FontGlobalScale);

if (io.FontGlobalScale < 0.3f)
if (io.FontGlobalScale < 0.75f)
{
io.FontGlobalScale = 0.3f;
io.FontGlobalScale = 0.75f;
}
}
else
Expand Down

0 comments on commit faac836

Please sign in to comment.