mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Allow larger scales on high-dpi screens.
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user