summaryrefslogtreecommitdiffstats
path: root/src/context-fns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/context-fns.cpp')
-rw-r--r--src/context-fns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context-fns.cpp b/src/context-fns.cpp
index 32c7eef00..d7333adbe 100644
--- a/src/context-fns.cpp
+++ b/src/context-fns.cpp
@@ -190,9 +190,9 @@ NR::Rect Inkscape::snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
p[1] = snappoint.getPoint();
}
- if (snappoint.getDistance() < NR_HUGE) {
+ if (snappoint.getSnapped()) {
// this does not work well enough yet.
-// desktop->snapindicator->set_new_snappoint(snappoint.getPoint().to_2geom());
+// desktop->snapindicator->set_new_snappoint(snappoint);
}
p[0] = sp_desktop_dt2root_xy_point(desktop, p[0]);