mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Take in account device pixel ratio when setting window extents
This commit is contained in:
parent
3637fec397
commit
d44f076f0b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue