Commit 36a4ba53 authored by Micah Acinapura's avatar Micah Acinapura
Browse files

fix for dpi scalling on sgct edit screen; fixes #1493;

parent acc6f5c3
Showing with 2 additions and 2 deletions
+2 -2
...@@ -52,8 +52,8 @@ void SgctEdit::systemMonitorConfiguration(const QList<QScreen*>& screenList) { ...@@ -52,8 +52,8 @@ void SgctEdit::systemMonitorConfiguration(const QList<QScreen*>& screenList) {
_monitorSizeList.push_back({ _monitorSizeList.push_back({
screenList[s]->availableGeometry().x(), screenList[s]->availableGeometry().x(),
screenList[s]->availableGeometry().y(), screenList[s]->availableGeometry().y(),
actualWidth, static_cast<int>(actualWidth * screenList[s]->devicePixelRatio()),
actualHeight static_cast<int>(actualHeight * screenList[s]->devicePixelRatio())
}); });
} }
_nMaxWindows = (_monitorSizeList.size() == 1) ? 3 : 4; _nMaxWindows = (_monitorSizeList.size() == 1) ? 3 : 4;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment