mirror of
https://github.com/sojamo/controlp5
synced 2024-11-22 05:57:57 +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;
|
||||
final ControlEvent myEvent = new ControlEvent( this );
|
||||
cp5.getControlBroadcaster( ).broadcast( myEvent , METHOD );
|
||||
if ( !_myControlListener.isEmpty( ) ) synchronized ( _myControlListener ) {
|
||||
synchronized ( _myControlListener ) {
|
||||
for ( final ControlListener cl : _myControlListener ) cl.controlEvent( myEvent );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user