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 ca04a36 commit 73d3aebCopy full SHA for 73d3aeb
core/src/processing/core/PApplet.java
@@ -10105,6 +10105,8 @@ static public void runSketch(final String[] args,
10105
sketch.present = present;
10106
sketch.fullScreen = fullScreen;
10107
10108
+ sketch.pixelDensity = sketch.displayDensity();
10109
+
10110
// For 3.0.1, moved this above handleSettings() so that loadImage() can be
10111
// used inside settings(). Sets a terrible precedent, but the alternative
10112
// of not being able to size a sketch to an image is driving people loopy.
0 commit comments