summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/node-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/node-tool.cpp')
-rw-r--r--src/ui/tools/node-tool.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/tools/node-tool.cpp b/src/ui/tools/node-tool.cpp
index 931e08d15..f994f85cf 100644
--- a/src/ui/tools/node-tool.cpp
+++ b/src/ui/tools/node-tool.cpp
@@ -31,6 +31,8 @@
#include "live_effects/effect.h"
#include "live_effects/lpeobject.h"
+#include "include/macros.h"
+
#include "object/sp-clippath.h"
#include "object/sp-item-group.h"
#include "object/sp-mask.h"
@@ -498,7 +500,8 @@ bool NodeTool::root_handler(GdkEvent* event) {
case GDK_MOTION_NOTIFY: {
sp_update_helperpath();
SPItem *over_item = nullptr;
- if (!desktop->canvas->_scrooling) {
+ if (!desktop->canvas->_scrooling || MOD__CTRL(event) || MOD__SHIFT(event) || MOD__ALT(event)) {
+ desktop->canvas->_scrooling = false;
combine_motion_events(desktop->canvas, event->motion, 0);
over_item = sp_event_context_find_item(desktop, event_point(event->button), FALSE, TRUE);
}