File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -1572,7 +1572,17 @@ protected void resizeRenderer(int newWidth, int newHeight) {
15721572 * Create a full-screen sketch using the default renderer.
15731573 */
15741574 public void fullScreen () {
1575- fullScreen (sketchRenderer ());
1575+ if (insideSettings ("fullScreen" )) {
1576+ this .fullScreen = true ;
1577+ }
1578+ }
1579+
1580+
1581+ public void fullScreen (int display ) {
1582+ if (insideSettings ("fullScreen" , display )) {
1583+ this .fullScreen = true ;
1584+ this .display = display ;
1585+ }
15761586 }
15771587
15781588
@@ -1591,7 +1601,7 @@ public void fullScreen() {
15911601 */
15921602 public void fullScreen (String renderer ) {
15931603 if (insideSettings ("fullScreen" , renderer )) {
1594- fullScreen = true ;
1604+ this . fullScreen = true ;
15951605 this .renderer = renderer ;
15961606 }
15971607 }
@@ -1602,7 +1612,7 @@ public void fullScreen(String renderer) {
16021612 */
16031613 public void fullScreen (String renderer , int display ) {
16041614 if (insideSettings ("fullScreen" , renderer , display )) {
1605- fullScreen = true ;
1615+ this . fullScreen = true ;
16061616 this .renderer = renderer ;
16071617 this .display = display ;
16081618 }
You can’t perform that action at this time.
0 commit comments