mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add interface scale (100%..150%) for Retina.
Fixes #69, fixes #3126, fixes #3789.
This commit is contained in:
@@ -948,7 +948,7 @@ void DefaultPreviewWindowFramePaint(QImage &preview, const style::palette &palet
|
||||
currentInt = *lastLineInts;
|
||||
++maxSize;
|
||||
}
|
||||
if (cRetina() && (maxSize % cIntRetinaFactor())) {
|
||||
if (maxSize % cIntRetinaFactor()) {
|
||||
maxSize -= (maxSize % cIntRetinaFactor());
|
||||
}
|
||||
auto size = maxSize / cIntRetinaFactor();
|
||||
|
Reference in New Issue
Block a user