This is probably a bug, i'll look into it. Thanks for finding it!TeotiGraphix wrote:Tom, it seems none of the observers for DrumPadBank actually get fired after initialization.ThomasHelzle wrote:Good catch, thanks!
Cheers,
Tom
For instance, having hooked up a drum pad selection listener, i can click in the drum machine and the observer never gets called. can you talk to Claus about this? Is it a know issue?
The observer gets called ONCE on start. So trying to get the color working is a no go until i figure out if I am doing something wrong or it doesn't work yet.
handleDrumPadSelection never gets called.Code: Select all
this.drumPadBank = this.cursorDevice.createDrumPadBank (this.numDrumPadLayers); for (i = 0; i < this.numDrumPadLayers; i++) { layer = this.drumPadBank.getChannel (i); layer.addIsSelectedObserver (doObjectIndex (this, i, CursorDeviceProxy.prototype.handleDrumPadSelection)); }
Mike
Volker
