mirror of
https://github.com/processing/processing4.git
synced 2026-04-19 10:49:28 +02:00
Update the warning message for pixelDensity
Made the warning message more helpful
This commit is contained in:
committed by
GitHub
parent
906ab17264
commit
38143079c1
@@ -2055,7 +2055,7 @@ public class PApplet implements PConstants {
|
||||
setup();
|
||||
|
||||
if(pixelDensityWarning){
|
||||
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().");
|
||||
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().");
|
||||
}
|
||||
|
||||
} else { // frameCount > 0, meaning an actual draw()
|
||||
|
||||
Reference in New Issue
Block a user