mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 21:09:27 -06:00
fix for dpi scalling on sgct edit screen; fixes #1493;
This commit is contained in:
@@ -52,8 +52,8 @@ void SgctEdit::systemMonitorConfiguration(const QList<QScreen*>& screenList) {
|
||||
_monitorSizeList.push_back({
|
||||
screenList[s]->availableGeometry().x(),
|
||||
screenList[s]->availableGeometry().y(),
|
||||
actualWidth,
|
||||
actualHeight
|
||||
static_cast<int>(actualWidth * screenList[s]->devicePixelRatio()),
|
||||
static_cast<int>(actualHeight * screenList[s]->devicePixelRatio())
|
||||
});
|
||||
}
|
||||
_nMaxWindows = (_monitorSizeList.size() == 1) ? 3 : 4;
|
||||
|
||||
Reference in New Issue
Block a user