ImageButton toggle button consistency

Hi.

I made a toggle button with ImageButton. (Yay, go me!! :grin:)

The user sees two different mechanisms every time they click it - first it toggles on mouse down, then next time it toggles with a mouse up. I don’t want that, as it’s strange to use, especially as it’s a left and right toggle thing.

I’ve tried setting setTriggeredOnMouseDown to true or false but it only effects the listeners, which is great but it makes no difference visually. That switch doesn’t seem to change the graphic behaviour, strangely.

I don’t mind the mechanism type, as long as it behaves the same for both positions.
Anybody know how I do that easily? Or is this a bug? I’m using the latest develop branch.

Thanks,
Dave H