mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
[qrhi] Fixed group call scale when moving between screens at runtime.
This commit is contained in:
@@ -572,7 +572,7 @@ void Viewport::RendererRhi::renderOffscreen(
|
||||
_nextPoolIndex = 0;
|
||||
|
||||
const auto size = rt->pixelSize();
|
||||
const auto factor = style::DevicePixelRatio();
|
||||
const auto factor = float(_owner->widget()->devicePixelRatioF());
|
||||
if (_factor != factor) {
|
||||
_factor = factor;
|
||||
_ifactor = int(std::ceil(factor));
|
||||
|
||||
Reference in New Issue
Block a user