mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-13 06:53:30 +00:00
Alpha 0.10.23: tiled background fixed for macOS.
This commit is contained in:
@@ -419,6 +419,7 @@ void ChatBackground::setImage(int32 id, QImage &&image) {
|
||||
|
||||
void ChatBackground::setPreparedImage(QImage &&image) {
|
||||
image = std_::move(image).convertToFormat(QImage::Format_ARGB32_Premultiplied);
|
||||
image.setDevicePixelRatio(cRetinaFactor());
|
||||
if (_id != kThemeBackground && _id != internal::kTestingThemeBackground) {
|
||||
initColorsFromBackground(image);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user