Skip to content

Commit

Permalink
Clear path segments after fill
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Dec 14, 2023
1 parent cbdd840 commit 5ddede5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,8 @@ impl Vger {

self.render(prim);
}

self.path_scanner.segments.clear()
}

fn setup_layout(&mut self, text: &str, size: u32, max_width: Option<f32>) {
Expand Down

0 comments on commit 5ddede5

Please sign in to comment.