diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-08-13 12:16:41 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-08-13 12:16:41 +0000 |
| commit | 17fd7b321d7575e5d45eb1e7accb50b73cadc4c1 (patch) | |
| tree | 41b030ed15407151a22ef4e55f2138f49d9b7a34 /src/display/nr-style.cpp | |
| parent | fix for bug 1786605 (diff) | |
| download | inkscape-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.cpp | 2 |
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; |
