diff options
Diffstat (limited to 'plugingui/scrollbar.cc')
-rw-r--r-- | plugingui/scrollbar.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/scrollbar.cc b/plugingui/scrollbar.cc index 3f53f03..ac5be15 100644 --- a/plugingui/scrollbar.cc +++ b/plugingui/scrollbar.cc @@ -176,7 +176,8 @@ void ScrollBar::mouseMoveEvent(MouseMoveEvent* mouseMoveEvent) void ScrollBar::buttonEvent(ButtonEvent* buttonEvent) { // Ignore everything except left clicks. - if (buttonEvent->button != MouseButton::left) { + if(buttonEvent->button != MouseButton::left) + { return; } |