summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/canvas/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/widget/canvas/path.rs')
-rw-r--r--graphics/src/widget/canvas/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/widget/canvas/path.rs b/graphics/src/widget/canvas/path.rs
index 6de19321..4e4fd734 100644
--- a/graphics/src/widget/canvas/path.rs
+++ b/graphics/src/widget/canvas/path.rs
@@ -62,7 +62,7 @@ impl Path {
transform: &lyon::math::Transform,
) -> Path {
Path {
- raw: self.raw.transformed(transform),
+ raw: self.raw.clone().transformed(transform),
}
}
}