summaryrefslogtreecommitdiffstats
path: root/src/snapped-point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/snapped-point.cpp')
-rw-r--r--src/snapped-point.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/snapped-point.cpp b/src/snapped-point.cpp
index 2db3d62e4..a777e4dc0 100644
--- a/src/snapped-point.cpp
+++ b/src/snapped-point.cpp
@@ -131,6 +131,10 @@ bool Inkscape::SnappedPoint::isOtherSnapBetter(Inkscape::SnappedPoint const &oth
return false;
}
+ if (!getSnapped() && other_one.getSnapped()) {
+ return true;
+ }
+
double dist_other = other_one.getSnapDistance();
double dist_this = getSnapDistance();