Code

Only in the selector tool we should snap in bbox mode (PointType = SNAPPOINT_BBOX)
[inkscape.git] / src / gradient-context.cpp
index 758759d6a29880d8107949a1a139ee6e228a3de5..f83625abea6b7531bdc1226de58373194bc4121c 100644 (file)
@@ -413,7 +413,7 @@ sp_gradient_context_root_handler(SPEventContext *event_context, GdkEvent *event)
             /* Snap center to nearest magnetic point */
             
             SnapManager const &m = desktop->namedview->snap_manager;
-            rc->origin = m.freeSnap(Inkscape::Snapper::SNAPPOINT_BBOX | Inkscape::Snapper::SNAPPOINT_NODE, button_dt, NULL).getPoint();
+            rc->origin = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, button_dt, NULL).getPoint();
 
             ret = TRUE;
         }