diff options
Diffstat (limited to 'src/object/sp-item.cpp')
| -rw-r--r-- | src/object/sp-item.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp index ec92c655f..fd27a6e90 100644 --- a/src/object/sp-item.cpp +++ b/src/object/sp-item.cpp @@ -1307,9 +1307,10 @@ void SPItem::adjust_stroke( gdouble ex ) if ( !style->stroke_dasharray.values.empty() ) { for (unsigned i = 0; i < style->stroke_dasharray.values.size(); i++) { - style->stroke_dasharray.values[i] *= ex; + style->stroke_dasharray.values[i].scale(ex); } - style->stroke_dashoffset.value *= ex; + style->stroke_dashoffset.value = style->stroke_dashoffset.value * ex; + style->stroke_dashoffset.computed = style->stroke_dashoffset.computed * ex; } updateRepr(); |
