FR: add ModifierKeys to Button::onClicked

FR: add ModifierKeys to Button::onClicked

Is it different from those you get by mean of the static methods in ModifierKeys for obtaining the current state?

Yes. mouseUp and therefore clicked don’t use the current modifiers, they use ‘oldModifiers’ otherwise all the mouse button flags would be 0 in mouseUp. (Which I guess would be technically correct since the mouse button is no longer down, but I guess people actually want the state just before mouseUp happened)

Ah, got it, I see what you mean now