summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2011-09-17 12:08:49 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2011-09-17 12:08:49 +0000
commitf0fa8577f48a7b0ddb285764404be316855d2e83 (patch)
treeff89b969ff17fa0a438df5233aacbc884452608b /src/object-snapper.cpp
parentMake zero deviation Gaussian blur conform to the SVG specification. (diff)
downloadinkscape-f0fa8577f48a7b0ddb285764404be316855d2e83.tar.gz
inkscape-f0fa8577f48a7b0ddb285764404be316855d2e83.zip
Make "snap page border" toggle independent of "snap paths" toggle
Fixed bugs: - https://launchpad.net/bugs/850982 (bzr r10635)
Diffstat (limited to 'src/object-snapper.cpp')
-rw-r--r--src/object-snapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index fa992a852..c5b2b7cd7 100644
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -324,7 +324,7 @@ void Inkscape::ObjectSnapper::_snapTranslatingGuide(IntermSnapResults &isr,
// Iterate through all nodes, find out which one is the closest to this guide, and snap to it!
_collectNodes(SNAPSOURCE_GUIDE, true);
- if (_snapmanager->snapprefs.isTargetSnappable(SNAPTARGET_PATH, SNAPTARGET_PATH_INTERSECTION, SNAPTARGET_BBOX_EDGE, SNAPTARGET_PAGE_BORDER)) {
+ if (_snapmanager->snapprefs.isTargetSnappable(SNAPTARGET_PATH, SNAPTARGET_PATH_INTERSECTION, SNAPTARGET_BBOX_EDGE, SNAPTARGET_PAGE_BORDER, SNAPTARGET_TEXT_BASELINE)) {
_collectPaths(p, SNAPSOURCE_GUIDE, true);
_snapPaths(isr, SnapCandidatePoint(p, SNAPSOURCE_GUIDE), NULL, NULL);
}