diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-03-09 20:19:01 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-03-09 20:19:01 +0000 |
| commit | a50bbcf0ee5b96e54cc956339a427bc3330df228 (patch) | |
| tree | ecacf9e73822a8432a5d73af531a93d78f62aa06 /src/nodepath.cpp | |
| parent | Yet another round of translation update (diff) | |
| download | inkscape-a50bbcf0ee5b96e54cc956339a427bc3330df228.tar.gz inkscape-a50bbcf0ee5b96e54cc956339a427bc3330df228.zip | |
Fix #338838, in which zooming and panning with the middle mouse button made Inkscape inrespronsive
(bzr r7461)
Diffstat (limited to 'src/nodepath.cpp')
| -rw-r--r-- | src/nodepath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
