You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I click my slider it will print the value that the slider has when I first clicked, and then the value that I moved the slider to. Am I right in thinking it should only print the latter? Did I set something up incorrectly?
Edit: I should clarify that this only happens when clicking on the bar of the slider itself. Setting the numerical value in the box only triggers the event once, as does sliding the mouse side to side after an initial click. That initial click still triggers two events though.
I'm wondering if mousePressed and mouseDragged are both sending events?
The text was updated successfully, but these errors were encountered:
Hi, this is a bug. The event should only dispatch when the value of the slider has changed, e.g. onMouseDragged or onInputChanged. I'll push up a fix in a few minutes. Thanks for reporting this!
The slider events seem to be getting called twice per click.
ofApp.h
ofApp.cpp
If I click my slider it will print the value that the slider has when I first clicked, and then the value that I moved the slider to. Am I right in thinking it should only print the latter? Did I set something up incorrectly?
Edit: I should clarify that this only happens when clicking on the bar of the slider itself. Setting the numerical value in the box only triggers the event once, as does sliding the mouse side to side after an initial click. That initial click still triggers two events though.
I'm wondering if mousePressed and mouseDragged are both sending events?
The text was updated successfully, but these errors were encountered: