Update Tab.java

cp5
This commit is contained in:
GoToLoop 2016-07-15 16:07:17 -03:00 committed by GitHub
parent 1506b77aab
commit e716ec6a22

View File

@ -54,7 +54,7 @@ public class Tab extends ControllerGroup< Tab > {
public Tab( ControlP5 theControlP5 , ControlWindow theControlWindow , String theName ) {
super( theControlP5 , null , theName , 0 , 0 );
isMoveable = false;
isEventActive = theControlP5.isTabEventsActive;
isEventActive = cp5.isTabEventsActive;
_myHeight = 16;
_myWidth = _myLabel.getWidth( ) + padding * 2;
_myLabel.align( LEFT , CENTER ).setPadding( 0 , 0 );