From 2f013ce44d64f518703648c6ee7c392f38a1beb7 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Wed, 15 Feb 2012 00:08:32 +0100 Subject: Snap to grid/guide lines perpendicularly (bzr r10976) --- src/snap-preferences.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/snap-preferences.cpp') diff --git a/src/snap-preferences.cpp b/src/snap-preferences.cpp index 09924e3bc..79e47ca83 100644 --- a/src/snap-preferences.cpp +++ b/src/snap-preferences.cpp @@ -88,10 +88,12 @@ void Inkscape::SnapPreferences::_mapTargetToArrayIndex(Inkscape::SnapTargetType // Some snap targets don't have their own toggle. These targets are called "secondary targets". We will re-map // them to their cousin which does have a toggle, and which is called a "primary target" case SNAPTARGET_GRID_INTERSECTION: + case SNAPTARGET_GRID_PERPENDICULAR: target = SNAPTARGET_GRID; break; case SNAPTARGET_GUIDE_INTERSECTION: case SNAPTARGET_GUIDE_ORIGIN: + case SNAPTARGET_GUIDE_PERPENDICULAR: target = SNAPTARGET_GUIDE; break; case SNAPTARGET_PAGE_CORNER: -- cgit v1.2.3