Skip to content

Commit 517a98f

Browse files
committed
Correcting compile errors
1 parent 9d7646e commit 517a98f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • node-graph/nodes/path-bool/src

node-graph/nodes/path-bool/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,13 @@ fn cascading_subtract(vector: &List<Vector>, boolean_operation: BooleanOperation
232232
attributes.insert(ATTR_TRANSFORM, DAffine2::IDENTITY);
233233

234234
let mut element = Vector {
235-
style: source.style.clone(),
235+
stroke: source.stroke.clone(),
236236
..Default::default()
237237
};
238238

239239
if boolean_operation == BooleanOperation::Crop && i == vector.len() - 1 {
240-
element.style.clear_fill();
241-
element.style.clear_stroke();
240+
attributes.remove::<List<Graphic>>(ATTR_FILL);
241+
element.stroke = None;
242242
}
243243

244244
append_linesweeper_contours(&mut element, &contours);

0 commit comments

Comments
 (0)