mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add interface scale (100%..150%) for Retina.
Fixes #69, fixes #3126, fixes #3789.
This commit is contained in:
@@ -645,7 +645,7 @@ void Notification::updateNotifyDisplay() {
|
||||
|
||||
int32 w = width(), h = height();
|
||||
QImage img(w * cIntRetinaFactor(), h * cIntRetinaFactor(), QImage::Format_ARGB32_Premultiplied);
|
||||
if (cRetina()) img.setDevicePixelRatio(cRetinaFactor());
|
||||
img.setDevicePixelRatio(cRetinaFactor());
|
||||
img.fill(st::notificationBg->c);
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user