Update ControlGroup.java

cp5
This commit is contained in:
GoToLoop 2016-07-15 16:08:30 -03:00 committed by GitHub
parent ce9b919750
commit 4eadb2236d

View File

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