Code

Re-enable snapping on release, for now.
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Thu, 14 Jan 2010 15:44:32 +0000 (16:44 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Thu, 14 Jan 2010 15:44:32 +0000 (16:44 +0100)
src/ui/tool/control-point.cpp

index 0d076a5ab2ce3fcc0bd6621128a0a71e6590c77d..73dd0d19e8604a5c64657257340d0cb1fd8de800 100644 (file)
@@ -438,8 +438,8 @@ bool ControlPoint::_eventHandler(GdkEvent *event)
     case GDK_BUTTON_RELEASE:
         if (!_event_grab) break;
 
-        // TODO I think this "feature" is wrong.
-        // sp_event_context_snap_watchdog_callback(_desktop->event_context->_delayed_snap_event);
+        // TODO I think snapping on release is wrong, or at least counter-intuitive.
+        sp_event_context_snap_watchdog_callback(_desktop->event_context->_delayed_snap_event);
         sp_event_context_discard_delayed_snap_event(_desktop->event_context);
         _desktop->snapindicator->remove_snaptarget();