From a50bbcf0ee5b96e54cc956339a427bc3330df228 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Mon, 9 Mar 2009 20:19:01 +0000 Subject: Fix #338838, in which zooming and panning with the middle mouse button made Inkscape inrespronsive (bzr r7461) --- src/nodepath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nodepath.cpp') diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 318649e5f..51d4b9bef 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -3587,7 +3587,7 @@ static void node_grabbed(SPKnot *knot, guint state, gpointer data) } n->is_dragging = true; - sp_canvas_set_snap_delay_active(n->subpath->nodepath->desktop->canvas, true); + //sp_canvas_set_snap_delay_active(n->subpath->nodepath->desktop->canvas, true); // Reconstruct and store the location of the mouse pointer at the time when we started dragging (needed for snapping) n->subpath->nodepath->drag_origin_mouse = knot->grabbed_rel_pos + knot->drag_origin; @@ -3605,7 +3605,7 @@ static void node_ungrabbed(SPKnot */*knot*/, guint /*state*/, gpointer data) n->dragging_out = NULL; n->is_dragging = false; - sp_canvas_set_snap_delay_active(n->subpath->nodepath->desktop->canvas, false); + //sp_canvas_set_snap_delay_active(n->subpath->nodepath->desktop->canvas, false); n->subpath->nodepath->drag_origin_mouse = Geom::Point(NR_HUGE, NR_HUGE); sp_canvas_end_forced_full_redraws(n->subpath->nodepath->desktop->canvas); -- cgit v1.2.3