From e180a73c03c71c51b676cc345e92d9ff0e3115e4 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 29 Mar 2009 19:12:03 +0000 Subject: - Move snap delay mechanism to the event context (used to be in SPCanvas) - Rename lots of variables and methods to make them easier to understand - Add snapping to the connector tool (bzr r7589) --- src/seltrans.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/seltrans.cpp') diff --git a/src/seltrans.cpp b/src/seltrans.cpp index f3ad2849c..e6c53acfe 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -368,7 +368,7 @@ void Inkscape::SelTrans::grab(Geom::Point const &p, gdouble x, gdouble y, bool s } } - sp_canvas_set_snap_delay_active(_desktop->canvas, true); + //sp_event_context_snap_window_open(_desktop->event_context); if ((x != -1) && (y != -1)) { sp_canvas_item_show(_norm); @@ -422,7 +422,7 @@ void Inkscape::SelTrans::ungrab() _grabbed = false; _show_handles = true; - sp_canvas_set_snap_delay_active(_desktop->canvas, false); + //sp_event_context_snap_window_closed(_desktop->event_context); _desktop->snapindicator->remove_snapsource(); -- cgit v1.2.3