diff options
Diffstat (limited to 'Telegram/SourceFiles/settings/settings_scale_preview.cpp')
-rw-r--r-- | Telegram/SourceFiles/settings/settings_scale_preview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Telegram/SourceFiles/settings/settings_scale_preview.cpp b/Telegram/SourceFiles/settings/settings_scale_preview.cpp index 55ba3dcbb2..251814630f 100644 --- a/Telegram/SourceFiles/settings/settings_scale_preview.cpp +++ b/Telegram/SourceFiles/settings/settings_scale_preview.cpp @@ -298,7 +298,7 @@ void Preview::init() { initAsWindow(); updateToScale(style::kScaleMin); _minOuterSize = _outer.size(); - updateToScale(style::kScaleMax / _ratio); + updateToScale(style::MaxScaleForRatio(_ratio)); _maxOuterSize = _outer.size(); } } |