Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
OpenSpace
Commits
36a4ba53
Commit
36a4ba53
authored
3 years ago
by
Micah Acinapura
Browse files
Options
Download
Email Patches
Plain Diff
fix for dpi scalling on sgct edit screen; fixes #1493;
parent
acc6f5c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/OpenSpace/ext/launcher/src/sgctedit/sgctedit.cpp
+2
-2
apps/OpenSpace/ext/launcher/src/sgctedit/sgctedit.cpp
with
2 additions
and
2 deletions
+2
-2
apps/OpenSpace/ext/launcher/src/sgctedit/sgctedit.cpp
+
2
-
2
View file @
36a4ba53
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help