clarifying language for window manager resize

This commit is contained in:
Ben Fry
2023-02-18 14:45:35 -05:00
parent 45ae247816
commit 3d463e9784
+3 -1
View File
@@ -809,7 +809,9 @@ public class PSurfaceJOGL implements PSurface {
if (!sketch.sketchFullScreen()) {
// don't show the message when using fullScreen()
PGraphics.showWarning("The sketch has been resized from " +
"%d\u2715%d to %d\u2715%d by the window manager.",
"%dx%d to %dx%d by the operating system.%n" +
"This is happening outside Processing, " +
"and is probably a limitation of the OS or window manager.",
sketchWidthRequested, sketchHeightRequested, sketchWidth, sketchHeight);
}
}