summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2010-02-06 14:59:28 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2010-02-06 14:59:28 +0000
commit195208c56145d9b9673aff0bb2f8795f5bc6fe22 (patch)
tree5f44dc6e637af2848b2c8e2a2f2b50b1bfdd433c /src/rect-context.cpp
parentExtensions. Scour update (0.24) (diff)
downloadinkscape-195208c56145d9b9673aff0bb2f8795f5bc6fe22.tar.gz
inkscape-195208c56145d9b9673aff0bb2f8795f5bc6fe22.zip
Tiny bit of refactoring (inverting some logic)
(bzr r9059)
Diffstat (limited to 'src/rect-context.cpp')
-rw-r--r--src/rect-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp
index 9eab188dd..a3c3ab0b5 100644
--- a/src/rect-context.cpp
+++ b/src/rect-context.cpp
@@ -317,7 +317,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent
sp_rect_drag(*rc, motion_dt, event->motion.state); // this will also handle the snapping
gobble_motion_events(GDK_BUTTON1_MASK);
ret = TRUE;
- } else if (sp_event_context_knot_mouseover(rc)) {
+ } else if (!sp_event_context_knot_mouseover(rc)) {
SnapManager &m = desktop->namedview->snap_manager;
m.setup(desktop);