summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/select-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/select-tool.cpp')
-rw-r--r--src/ui/tools/select-tool.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/tools/select-tool.cpp b/src/ui/tools/select-tool.cpp
index 835bb6f94..92ae7558b 100644
--- a/src/ui/tools/select-tool.cpp
+++ b/src/ui/tools/select-tool.cpp
@@ -398,7 +398,8 @@ void SelectTool::sp_select_context_cycle_through_items(Inkscape::Selection *sele
std::vector<SPItem *>::iterator next = cycling_items.end();
- if (scroll_event->direction == GDK_SCROLL_UP) {
+ if ((scroll_event->direction == GDK_SCROLL_UP) ||
+ (scroll_event->direction == GDK_SCROLL_SMOOTH && scroll_event->delta_y < 0)) {
if (! cycling_cur_item) {
next = cycling_items.begin();
} else {