Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yutannihilation committed Sep 28, 2024
1 parent 685766f commit 2469913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub type FlattenedPathBuilder = lyon::path::builder::NoAttributes<

impl BuildPath for FlattenedPathBuilder {
fn set_transform(&mut self, transform: lyon::math::Transform) {
lyon::path::builder::Transformed::set_transform(self, transform);
self.inner_mut().set_transform(transform);
}

fn new_builder(tolerance: f32) -> Self {
Expand All @@ -195,7 +195,7 @@ pub type NonFlattenedPathBuilder = lyon::path::builder::NoAttributes<

impl BuildPath for NonFlattenedPathBuilder {
fn set_transform(&mut self, transform: lyon::math::Transform) {
self.set_transform(transform);
self.inner_mut().set_transform(transform);
}

fn new_builder(_tolerance: f32) -> Self {
Expand Down

0 comments on commit 2469913

Please sign in to comment.