mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 02:50:36 +00:00
Alpha 0.10.23: tiled background fixed for macOS.
This commit is contained in:
@@ -411,6 +411,8 @@ void Generator::paintHistoryBackground() {
|
||||
tiled = _current.backgroundTiled;
|
||||
}
|
||||
}
|
||||
background = std_::move(background).convertToFormat(QImage::Format_ARGB32_Premultiplied);
|
||||
background.setDevicePixelRatio(cRetinaFactor());
|
||||
_p->setClipRect(_history);
|
||||
if (tiled) {
|
||||
auto width = background.width();
|
||||
|
||||
Reference in New Issue
Block a user