mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Option to set custom interface scales
This commit is contained in:
@@ -137,7 +137,9 @@ void SetupInterfaceScale(
|
||||
icon ? st::settingsScalePadding : st::settingsBigScalePadding);
|
||||
|
||||
static const auto ScaleValues = [&] {
|
||||
auto values = (cIntRetinaFactor() > 1)
|
||||
auto values = HasCustomScales()
|
||||
? cInterfaceScales()
|
||||
: (cIntRetinaFactor() > 1)
|
||||
? std::vector<int>{ 100, 110, 120, 130, 140, 150 }
|
||||
: std::vector<int>{ 100, 125, 150, 200, 250, 300 };
|
||||
if (cConfigScale() == style::kScaleAuto) {
|
||||
|
Reference in New Issue
Block a user