diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-02-06 14:59:28 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-02-06 14:59:28 +0000 |
| commit | 195208c56145d9b9673aff0bb2f8795f5bc6fe22 (patch) | |
| tree | 5f44dc6e637af2848b2c8e2a2f2b50b1bfdd433c /src/pencil-context.cpp | |
| parent | Extensions. Scour update (0.24) (diff) | |
| download | inkscape-195208c56145d9b9673aff0bb2f8795f5bc6fe22.tar.gz inkscape-195208c56145d9b9673aff0bb2f8795f5bc6fe22.zip | |
Tiny bit of refactoring (inverting some logic)
(bzr r9059)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 328c011ff..f18174457 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -364,10 +364,6 @@ pencil_handle_motion_notify(SPPencilContext *const pc, GdkEventMotion const &mev /* Create green anchor */ pc->green_anchor = sp_draw_anchor_new(pc, pc->green_curve, TRUE, pc->p[0]); } - /** \todo - * fixme: I am not sure whether we want to snap to anchors - * in middle of freehand (Lauris) - */ if (anchor) { p = anchor->dp; } @@ -395,7 +391,7 @@ pencil_handle_motion_notify(SPPencilContext *const pc, GdkEventMotion const &mev pc->_message_context->clear(); pc->anchor_statusbar = false; } - if (sp_event_context_knot_mouseover(pc)) { + if (!sp_event_context_knot_mouseover(pc)) { SnapManager &m = dt->namedview->snap_manager; m.setup(dt); m.preSnap(Inkscape::SnapCandidatePoint(p, Inkscape::SNAPSOURCE_NODE_HANDLE)); |
