diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-08-23 13:55:47 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-08-23 13:55:47 +0000 |
| commit | b3f3d7ad268f67e27792ecfbcebab1bbbe646b74 (patch) | |
| tree | e75486df75974b5787a3072fe70baaac2909947b /src/ui/dialog/inkscape-preferences.cpp | |
| parent | patch from 416549 (diff) | |
| download | inkscape-b3f3d7ad268f67e27792ecfbcebab1bbbe646b74.tar.gz inkscape-b3f3d7ad268f67e27792ecfbcebab1bbbe646b74.zip | |
When dragging a knot along a constraint line, then allow snapping the position of the mouse pointer instead of its projection onto the constraint line (for this a check box has been added to the preferences dialog)
(bzr r8523)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index ba07597e7..9b6d9e084 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -230,6 +230,10 @@ void InkscapePreferences::initPageSnapping() _page_snapping.add_line( false, _("Weight factor:"), _snap_weight, "", _("When multiple snap solutions are found, then Inkscape can either prefer the closest transformation (when set to 0), or prefer the node that was initially the closest to the pointer (when set to 1)"), true); + _snap_mouse_pointer.init( _("Snap the mouse pointer when dragging a constrained knot"), "/options/snapmousepointer/value", false); + _page_snapping.add_line( false, "", _snap_mouse_pointer, "", + _("When dragging a knot along a constraint line, then snap the position of the mouse pointer instead of snapping the projection of the knot onto the constraint line")); + this->AddPage(_page_snapping, _("Snapping"), PREFS_PAGE_SNAPPING); } |
