Use default tolerance for dashed paths in iced_wgpu
This commit is contained in:
parent
346ea313fd
commit
d461f23e8d
1 changed files with 3 additions and 1 deletions
|
|
@ -626,7 +626,9 @@ pub(super) fn dashed(path: &Path, line_dash: LineDash<'_>) -> Path {
|
|||
let mut draw_line = false;
|
||||
|
||||
walk_along_path(
|
||||
path.raw().iter().flattened(0.01),
|
||||
path.raw().iter().flattened(
|
||||
lyon::tessellation::StrokeOptions::DEFAULT_TOLERANCE,
|
||||
),
|
||||
0.0,
|
||||
lyon::tessellation::StrokeOptions::DEFAULT_TOLERANCE,
|
||||
&mut RepeatedPattern {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue