Skip to content

Commit 3814307

Browse files
authored
Update the warning message for pixelDensity
Made the warning message more helpful
1 parent 906ab17 commit 3814307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/core/PApplet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ public void handleDraw() {
20552055
setup();
20562056

20572057
if(pixelDensityWarning){
2058-
System.err.println("Warning: pixelDensity() now defaults to 2x to align with your display's pixel density. To avoid this warning, please explicitly set pixelDensity() in settings().");
2058+
System.err.println("Warning: Processing now sets pixelDensity(2) by default on high-density screens. This may change how your sketch looks. To revert to the old behavior, set pixelDensity(1) in setup().");
20592059
}
20602060

20612061
} else { // frameCount > 0, meaning an actual draw()

0 commit comments

Comments
 (0)