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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/widget/canvas/path.rs b/graphics/src/widget/canvas/path.rs
index cb7e5035..1728f060 100644
--- a/graphics/src/widget/canvas/path.rs
+++ b/graphics/src/widget/canvas/path.rs
@@ -10,8 +10,8 @@ pub use builder::Builder;
use crate::canvas::LineDash;
use iced_native::{Point, Size};
+use lyon::algorithms::walk::{walk_along_path, RepeatedPattern};
use lyon::path::iterator::PathIterator;
-use lyon_algorithms::walk::{walk_along_path, RepeatedPattern};
/// An immutable set of points that may or may not be connected.
///
@@ -83,7 +83,7 @@ pub(super) fn dashed(path: &Path, line_dash: LineDash<'_>) -> Path {
path.raw().iter().flattened(0.01),
0.0,
&mut RepeatedPattern {
- callback: |position: lyon_algorithms::math::Point,
+ callback: |position: lyon::algorithms::math::Point,
_tangent,
_distance| {
let point = Point {