mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
add fix for present mode problem on os x
This commit is contained in:
@@ -7152,6 +7152,7 @@ public class PApplet extends Applet
|
||||
frame.setBackground(backgroundColor);
|
||||
if (exclusive) {
|
||||
displayDevice.setFullScreenWindow(frame);
|
||||
frame.setExtendedState(java.awt.Frame.MAXIMIZED_BOTH);
|
||||
fullScreenRect = frame.getBounds();
|
||||
} else {
|
||||
DisplayMode mode = displayDevice.getDisplayMode();
|
||||
|
||||
Reference in New Issue
Block a user