summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index 3b6329436..d7c461f92 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -1307,10 +1307,11 @@ void SPItem::adjust_stroke( gdouble ex )
if ( !style->stroke_dasharray.values.empty() ) {
for (unsigned i = 0; i < style->stroke_dasharray.values.size(); i++) {
- double dash = style->stroke_dasharray.values[i].value * ex;
- style->stroke_dasharray.values[i].setDouble(dash);
+ style->stroke_dasharray.values[i].value *= ex;
+ style->stroke_dasharray.values[i].computed *= ex;
}
- style->stroke_dashoffset.value *= ex;
+ style->stroke_dashoffset.value *= ex;
+ style->stroke_dashoffset.computed *= ex;
}
updateRepr();