mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Take in account device pixel ratio when setting window extents
This commit is contained in:
@@ -147,7 +147,7 @@ void TitleWidgetQt::updateWindowExtents() {
|
|||||||
if (hasShadow()) {
|
if (hasShadow()) {
|
||||||
Platform::SetWindowExtents(
|
Platform::SetWindowExtents(
|
||||||
window()->windowHandle(),
|
window()->windowHandle(),
|
||||||
resizeArea());
|
resizeArea() * cIntRetinaFactor());
|
||||||
|
|
||||||
_extentsSet = true;
|
_extentsSet = true;
|
||||||
} else if (_extentsSet) {
|
} else if (_extentsSet) {
|
||||||
|
Reference in New Issue
Block a user