ControlP5 Icon class calls controlEvent method when setBroadcast is set to false

Hi,

Basically as described in the title. I'm working with the icon class which is great but when I set it to being a switch, setting broadcast to false does not affect whether it calls the controlEvent function. In code:

controlP5.get(Icon.class, "Iconcontroller") .setBroadcast(false) .setOn() .setBroadcast(true) ;

Does not function like I would expect it too. Has anybody encountered or solved this problem before. Thanks

Sign In or Register to comment.