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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/solving.rs b/core/src/solving.rs
index c7e94ba..4760611 100644
--- a/core/src/solving.rs
+++ b/core/src/solving.rs
@@ -196,7 +196,7 @@ impl Constrainable for StrokeStyle {
196 }; 196 };
197 197
198 Some(DefinedStrokeStyle { 198 Some(DefinedStrokeStyle {
199 pattern: self.pattern.clone(), 199 pattern: self.pattern,
200 dash, 200 dash,
201 line_width: self.line_width.fixate(model)?, 201 line_width: self.line_width.fixate(model)?,
202 }) 202 })
@@ -249,7 +249,7 @@ impl Constrainable for FontDescription {
249 family: self.family.clone(), 249 family: self.family.clone(),
250 style: self.style, 250 style: self.style,
251 weight: self.weight, 251 weight: self.weight,
252 size: self.size.fixate(&*model)?, 252 size: self.size.fixate(model)?,
253 }) 253 })
254 } 254 }
255} 255}
@@ -260,7 +260,7 @@ impl Constrainable for Text {
260 fn fixate(&self, model: &dyn SolverModel) -> Option<Self::Fixated> { 260 fn fixate(&self, model: &dyn SolverModel) -> Option<Self::Fixated> {
261 Some(DefinedText { 261 Some(DefinedText {
262 content: self.content.clone(), 262 content: self.content.clone(),
263 font: self.font.fixate(&*model)?, 263 font: self.font.fixate(model)?,
264 }) 264 })
265 } 265 }
266} 266}