mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-11 04:51:12 -06:00
Images: the highlight outline uses main's world-point line helper
This commit is contained in:
@@ -385,7 +385,7 @@ pub(crate) fn draw_highlight(p: &egui::Painter, xf: &Xf, list: &DisplayList, pri
|
||||
line(&outline, &mut shapes);
|
||||
}
|
||||
}
|
||||
Kind::Image { .. } => line(pts.iter().chain(pts.first()).map(|q| xf.to_screen(*q)).collect(), &mut shapes),
|
||||
Kind::Image { .. } => line(&pts.iter().chain(pts.first()).copied().collect::<Vec<_>>(), &mut shapes),
|
||||
}
|
||||
}
|
||||
if !fill.is_empty() {
|
||||
|
||||
Reference in New Issue
Block a user