diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2012-02-14 23:08:32 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mail@diedenrezi.nl> | 2012-02-14 23:08:32 +0000 |
| commit | 2f013ce44d64f518703648c6ee7c392f38a1beb7 (patch) | |
| tree | 94d7b1f7ba01dee874d3f9de72a37c5ee6000596 /src/snap-preferences.cpp | |
| parent | 1) Add checkboxes for perpendicular and tangential snapping to the document p... (diff) | |
| download | inkscape-2f013ce44d64f518703648c6ee7c392f38a1beb7.tar.gz inkscape-2f013ce44d64f518703648c6ee7c392f38a1beb7.zip | |
Snap to grid/guide lines perpendicularly
(bzr r10976)
Diffstat (limited to 'src/snap-preferences.cpp')
| -rw-r--r-- | src/snap-preferences.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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: |
