summaryrefslogtreecommitdiffstats
path: root/core/src/solving.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/solving.rs')
-rw-r--r--core/src/solving.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/solving.rs b/core/src/solving.rs
index bf5fe95..016d188 100644
--- a/core/src/solving.rs
+++ b/core/src/solving.rs
@@ -211,10 +211,15 @@ impl Constrainable for StrokeStyle {
211 None => None, 211 None => None,
212 }; 212 };
213 213
214 let line_width = match self.line_width {
215 Some(f) => f.fixate(model)?,
216 None => 2.,
217 };
218
214 Some(DefinedStrokeStyle { 219 Some(DefinedStrokeStyle {
215 pattern: self.pattern, 220 pattern: self.pattern,
216 dash, 221 dash,
217 line_width: self.line_width.fixate(model)?, 222 line_width,
218 }) 223 })
219 } 224 }
220} 225}