mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Attempt to handle UI scaling range on retina displays
This commit is contained in:
@@ -127,7 +127,7 @@ QSize CSettingsView::getPreferredRenderingResolution()
|
|||||||
return QSize(resX, resY);
|
return QSize(resX, resY);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return QApplication::primaryScreen()->geometry().size();
|
return QApplication::primaryScreen()->geometry().size() * QApplication::primaryScreen()->devicePixelRatio();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSettingsView::fillValidScalingRange()
|
void CSettingsView::fillValidScalingRange()
|
||||||
|
Reference in New Issue
Block a user