diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2011-08-22 20:27:25 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mail@diedenrezi.nl> | 2011-08-22 20:27:25 +0000 |
| commit | 458c1a2a8f34a342d2728b144592110a65b4c2d1 (patch) | |
| tree | c268d391e8e3c1901188bb906c7b025f7ef342ad /src/snapped-point.cpp | |
| parent | Use different icons to communicate the change in behavior of the snap buttons... (diff) | |
| download | inkscape-458c1a2a8f34a342d2728b144592110a65b4c2d1.tar.gz inkscape-458c1a2a8f34a342d2728b144592110a65b4c2d1.zip | |
Fix snap bug #816044
Fixed bugs:
- https://launchpad.net/bugs/816044
(bzr r10572)
Diffstat (limited to 'src/snapped-point.cpp')
| -rw-r--r-- | src/snapped-point.cpp | 4 |
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(); |
