summaryrefslogtreecommitdiffstats
path: root/src/display/nr-style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-08-13 12:16:41 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-08-13 12:16:41 +0000
commit17fd7b321d7575e5d45eb1e7accb50b73cadc4c1 (patch)
tree41b030ed15407151a22ef4e55f2138f49d9b7a34 /src/display/nr-style.cpp
parentfix for bug 1786605 (diff)
downloadinkscape-17fd7b321d7575e5d45eb1e7accb50b73cadc4c1.tar.gz
inkscape-17fd7b321d7575e5d45eb1e7accb50b73cadc4c1.zip
Fix 'stroke-dashoffset' with absolute units.
Diffstat (limited to 'src/display/nr-style.cpp')
-rw-r--r--src/display/nr-style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/nr-style.cpp b/src/display/nr-style.cpp
index fa0db55cc..d509ced9c 100644
--- a/src/display/nr-style.cpp
+++ b/src/display/nr-style.cpp
@@ -218,7 +218,7 @@ void NRStyle::set(SPStyle *style, SPStyle *context_style)
n_dash = style->stroke_dasharray.values.size();
if (n_dash != 0) {
- dash_offset = style->stroke_dashoffset.value;
+ dash_offset = style->stroke_dashoffset.computed;
dash = new double[n_dash];
for (unsigned int i = 0; i < n_dash; ++i) {
dash[i] = style->stroke_dasharray.values[i].value;