diff options
Diffstat (limited to 'Telegram/SourceFiles/settings/settings_main.cpp')
-rw-r--r-- | Telegram/SourceFiles/settings/settings_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Telegram/SourceFiles/settings/settings_main.cpp b/Telegram/SourceFiles/settings/settings_main.cpp index 39fd8133d2..48105d8ef1 100644 --- a/Telegram/SourceFiles/settings/settings_main.cpp +++ b/Telegram/SourceFiles/settings/settings_main.cpp @@ -447,7 +447,7 @@ void SetupInterfaceScale( const auto ratio = style::DevicePixelRatio(); const auto scaleMin = style::kScaleMin; - const auto scaleMax = style::kScaleMax / ratio; + const auto scaleMax = style::MaxScaleForRatio(ratio); const auto scaleConfig = cConfigScale(); const auto step = 5; Assert(!((scaleMax - scaleMin) % step)); |