Render context art at correct size
This commit is contained in:
committed by
Jonas Kvinge
parent
b741f1a580
commit
e4697c8ff1
@@ -165,6 +165,7 @@ QImage ImageUtils::ScaleAndPad(const QImage &image, const bool scale, const bool
|
||||
image_scaled = image_padded;
|
||||
}
|
||||
|
||||
image_scaled.setDevicePixelRatio(device_pixel_ratio);
|
||||
return image_scaled;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user