Alpha 0.10.23: tiled background fixed for macOS.

This commit is contained in:
John Preston
2017-01-01 21:10:35 +04:00
parent c65a280b9d
commit 3da020dffd
3 changed files with 3 additions and 1 deletions
@@ -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);
}