diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-03-18 08:04:37 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-03-18 08:04:37 +0000 |
| commit | 37e080c40fa3bb0f73953b1203eda3a4fabcb34e (patch) | |
| tree | 16d02aa8260528f2c3719bb1698c1f544ecfff91 /src/selection-chemistry.cpp | |
| parent | patch by Jasper: concatenate curves, not path strings (which would break with... (diff) | |
| download | inkscape-37e080c40fa3bb0f73953b1203eda3a4fabcb34e.tar.gz inkscape-37e080c40fa3bb0f73953b1203eda3a4fabcb34e.zip | |
use the same colors for clippath and mark helper paths as used in outline mode
(bzr r5112)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index 2fdf04ca2..eaf68e09e 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -2168,7 +2168,10 @@ void sp_selection_edit_clip_or_mask(SPDesktop * dt, bool clip) shape_editor->set_item(SP_ITEM(child)); Inkscape::NodePath::Path *np = shape_editor->get_nodepath(); if (np) { - np->helperpath_rgba = clip ? 0x0000ffff : 0x800080ff; + // take colors from prefs (same as used in outline mode) + np->helperpath_rgba = clip ? + prefs_get_int_attribute("options.wireframecolors", "clips", 0x00ff00ff) : + prefs_get_int_attribute("options.wireframecolors", "masks", 0x0000ffff); np->helperpath_width = 1.0; sp_nodepath_show_helperpath(np, true); } |
