Skip to content

Commit

Permalink
fixed ofxGuiSlider text input not positioned correctly as a side efec…
Browse files Browse the repository at this point in the history
…t of commit b961214 (#6567)

#changelog #ofxgui #addon
  • Loading branch information
roymacdonald authored Apr 21, 2020
1 parent c0a2500 commit 07e47f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/ofxGui/src/ofxSlider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ bool ofxSlider<Type>::mousePressed(ofMouseEventArgs & mouse){
if(b.inside(mouse)){
state = Input;
auto mouseLeft = mouse;
input.setShape(b);
mouseLeft.button = OF_MOUSE_BUTTON_LEFT;
input.mousePressed(mouseLeft);
return true;
Expand Down

0 comments on commit 07e47f7

Please sign in to comment.