Juce button seems slow?

it seems that the reaction speed of Juce button class is a little slow.

I wrote my own simple button with just a rounded rectangle being turned on and off by a mouseEvent click, and that is super snappy and reacts straight away,

but it seems when i use the Juce buttons, it’s a bit laggy and feels sluggish.

any ideas why? or even better, how to fix it?

There’s no delay involved!

But like most buttons they trigger on mouse-up rather than down, is that it? You can change that with Button::setTriggeredOnMouseDown if you want to

perfecto! thanks Jules!