diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-11-05 14:39:31 +0100 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-11-05 14:39:31 +0100 |
commit | 172441ad3847e77670a07067bbae3ee04da3dd48 (patch) | |
tree | 0e5b208d09ba05d57c3b5c49fa514ed184884408 /plugingui | |
parent | d0f8f83749b1df7ad0e18660ae4c80839da7dd0a (diff) |
Removed support for dragging as this made the scrollbar jump (drag)? on mouse over.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/scrollbar.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/scrollbar.cc b/plugingui/scrollbar.cc index 07dc36b..2a40dc1 100644 --- a/plugingui/scrollbar.cc +++ b/plugingui/scrollbar.cc @@ -136,6 +136,7 @@ void GUI::ScrollBar::scrollEvent(ScrollEvent *e) void GUI::ScrollBar::mouseMoveEvent(MouseMoveEvent *e) { +/* if(!dragging) return; float delta = yoffset - e->y; @@ -145,6 +146,7 @@ void GUI::ScrollBar::mouseMoveEvent(MouseMoveEvent *e) int newval = value_offset - delta; if(newval != value()) setValue(newval); +*/ } void GUI::ScrollBar::buttonEvent(ButtonEvent *e) |