diff options
-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) |