fix(render): improve dashed linetype rendering

This commit is contained in:
gianlucafiore committed 2026-08-27 13:51:05 -03:00
1 parent 513ab958a8
commit a2d4caf2f0
3 files changed
+12 -3

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ impl Scene {
let source_length = stationed.then(|| wire.pattern_stations[wire.points.len()]);
let (clipped, mut clipped_stations) = clip_polyline_to_rect(
&projected_pts,
stationed.then_some(&wire.pattern_stations[..wire.points.len()]),
stationed.then(|| &wire.pattern_stations[..wire.points.len()]),
vp_x0,
vp_y0,
vp_x1,