We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7978cc commit 0882da0Copy full SHA for 0882da0
core/src/processing/opengl/PSurfaceJOGL.java
@@ -338,8 +338,8 @@ protected void initWindow() {
338
// https://github.com/processing/processing/issues/3545
339
340
if (fullScreen || spanDisplays) {
341
- sketchWidth = screenRect.width / windowScaleFactor;
342
- sketchHeight = screenRect.height / windowScaleFactor;
+ sketchWidth = (int) (uiScale * screenRect.width / windowScaleFactor);
+ sketchHeight = (int) (uiScale * screenRect.height / windowScaleFactor);
343
}
344
345
sketch.setSize(sketchWidth, sketchHeight);
0 commit comments