Update ControllerGroup.java

cp5
This commit is contained in:
GoToLoop 2016-07-15 16:09:59 -03:00 committed by GitHub
parent 8ad8ff167e
commit b1085e4adf
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > >
*/
public ControllerGroup( ControlP5 theControlP5 , String theName ) {
this( theControlP5 , theControlP5.getDefaultTab( ) , theName , 0 , 0 );
cp5.register( theControlP5.papplet , theName , this );
cp5.register( cp5.papplet , theName , this );
}
public ControllerGroup( ControlP5 theControlP5 , ControllerGroup< ? extends ControllerGroup< ? > >