mirror of
https://github.com/sojamo/controlp5
synced 2024-11-22 14:07:55 +01:00
Update ControlGroup.java
This commit is contained in:
parent
4eadb2236d
commit
4b8a8368ca
@ -74,7 +74,7 @@ public class ControlGroup< T extends ControlGroup< T > > extends ControllerGroup
|
|||||||
if ( !isEventActive ) return;
|
if ( !isEventActive ) return;
|
||||||
final ControlEvent myEvent = new ControlEvent( this );
|
final ControlEvent myEvent = new ControlEvent( this );
|
||||||
cp5.getControlBroadcaster( ).broadcast( myEvent , METHOD );
|
cp5.getControlBroadcaster( ).broadcast( myEvent , METHOD );
|
||||||
if ( !_myControlListener.isEmpty( ) ) synchronized ( _myControlListener ) {
|
synchronized ( _myControlListener ) {
|
||||||
for ( final ControlListener cl : _myControlListener ) cl.controlEvent( myEvent );
|
for ( final ControlListener cl : _myControlListener ) cl.controlEvent( myEvent );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user