mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Palette usage improvements.
This commit is contained in:
@@ -81,7 +81,7 @@ void LocationManager::init() {
|
||||
delete notLoadedPlaceholder;
|
||||
}
|
||||
auto data = QImage(cIntRetinaFactor(), cIntRetinaFactor(), QImage::Format_ARGB32_Premultiplied);
|
||||
data.fill(st::white->c);
|
||||
data.fill(st::imageBgTransparent->c);
|
||||
data.setDevicePixelRatio(cRetinaFactor());
|
||||
notLoadedPlaceholder = new ImagePtr(App::pixmapFromImageInPlace(std_::move(data)), "GIF");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user