2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 06:07:45 +00:00

Take in account device pixel ratio when setting window extents

This commit is contained in:
Ilya Fedin 2021-02-12 16:58:14 +04:00 committed by John Preston
parent 3637fec397
commit d44f076f0b

View File

@ -147,7 +147,7 @@ void TitleWidgetQt::updateWindowExtents() {
if (hasShadow()) {
Platform::SetWindowExtents(
window()->windowHandle(),
resizeArea());
resizeArea() * cIntRetinaFactor());
_extentsSet = true;
} else if (_extentsSet) {