mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-23 01:27:15 +02:00
Use style::CheckScale when setting gtk scale factor
This commit is contained in:
parent
037506c0b7
commit
ec8ddb047d
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue