mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
full screen toggle works
This commit is contained in:
@@ -504,12 +504,17 @@ public class PdeEditor extends Panel implements PdeEnvironment {
|
||||
fullScreenWindow.setBounds(0, 0, screen.width, screen.height);
|
||||
fullScreenWindow.setBackground(new Color(102, 102, 102));
|
||||
fullScreenWindow.show();
|
||||
buttons.clear();
|
||||
|
||||
// not sure what to do with applet..
|
||||
// (since i can't bring the browser window to the front)
|
||||
// unless there's a method in AppletContext
|
||||
if (frame != null) frame.toFront();
|
||||
|
||||
buttons.clear();
|
||||
}
|
||||
|
||||
public void disableFullScreen() {
|
||||
fullScreenWindow.hide();
|
||||
buttons.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user