From 2d7e690eb6a2add552b84370d56d56ec1b1fbfd4 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 19 Oct 2019 04:33:22 +0000 Subject: Add export/import PDF blend modes and add isolation modifier --- src/ui/tools/node-tool.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ui/tools/node-tool.cpp') 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); } -- cgit v1.2.3