mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Use style::CheckScale when setting gtk scale factor
This commit is contained in:
@@ -221,7 +221,7 @@ void SetScaleFactor() {
|
||||
}
|
||||
|
||||
LOG(("GTK scale factor: %1").arg(scaleFactor));
|
||||
cSetScreenScale(std::clamp(scaleFactor * 100, 100, 300));
|
||||
cSetScreenScale(style::CheckScale(scaleFactor * 100));
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user