Skip to content

Commit 00b583a

Browse files
committed
remove remnants of layout
1 parent c2fcba0 commit 00b583a

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

core/src/processing/core/PApplet.java

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ public void onPermissionsGranted() {
628628

629629

630630
/**
631-
* @param method "size", "fullScreen", or "layout"
631+
* @param method "size" or "fullScreen"
632632
* @param args parameters passed to the function so we can show the user
633633
* @return true if safely inside the settings() method
634634
*/
@@ -1257,26 +1257,6 @@ public void size(int iwidth, int iheight, String irenderer) {
12571257
}
12581258

12591259

1260-
public void layout(@LayoutRes int ilayout) {
1261-
if (ilayout != this.parentLayout) {
1262-
if (insideSettings("layout", ilayout)) {
1263-
this.parentLayout = ilayout;
1264-
}
1265-
}
1266-
}
1267-
1268-
1269-
public void layout(@LayoutRes int ilayout, String irenderer) {
1270-
if (ilayout != this.parentLayout ||
1271-
!this.renderer.equals(irenderer)) {
1272-
if (insideSettings("layout", ilayout, irenderer)) {
1273-
this.parentLayout = ilayout;
1274-
this.renderer = irenderer;
1275-
}
1276-
}
1277-
}
1278-
1279-
12801260
//. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12811261

12821262

0 commit comments

Comments
 (0)