mirror of
https://github.com/sojamo/controlp5
synced 2024-11-22 05:57:57 +01:00
Update Tab.java
cp5
This commit is contained in:
parent
1506b77aab
commit
e716ec6a22
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user