diff --git a/source/PreferencesPanel.cpp b/source/PreferencesPanel.cpp index 9c5858b97e33..fbdc26b76694 100644 --- a/source/PreferencesPanel.cpp +++ b/source/PreferencesPanel.cpp @@ -57,7 +57,7 @@ using namespace std; namespace { // Settings that require special handling. const string ZOOM_FACTOR = "Main zoom factor"; - const int ZOOM_FACTOR_MIN = 100; + const int ZOOM_FACTOR_MIN = 50; const int ZOOM_FACTOR_MAX = 200; const int ZOOM_FACTOR_INCREMENT = 10; const string VIEW_ZOOM_FACTOR = "View zoom factor"; diff --git a/source/Screen.cpp b/source/Screen.cpp index 6bec47b81b2f..8d77d776bb92 100644 --- a/source/Screen.cpp +++ b/source/Screen.cpp @@ -88,7 +88,7 @@ int Screen::Zoom() void Screen::SetZoom(int percent) { - USER_ZOOM = max(100, min(200, percent)); + USER_ZOOM = max(50, min(200, percent)); // Make sure the zoom factor is not set too high for the full UI to fit. static const int MIN_WIDTH = 1000; // Width of main menu @@ -97,7 +97,7 @@ void Screen::SetZoom(int percent) int minZoomY = 100 * RAW_HEIGHT / MIN_HEIGHT; int minZoom = min(minZoomX, minZoomY); // Never go below 100% zoom, no matter how small the window is - minZoom = max(minZoom, 100); + minZoom = max(minZoom, 50); // Use increments of 10, like the user setting minZoom -= minZoom % 10; EFFECTIVE_ZOOM = min(minZoom, UserZoom());