Images: the highlight outline uses main's world-point line helper

This commit is contained in:
Tanish Manku
2026-11-03 15:04:12 -07:00
parent 238aa1789c
commit d3226e629e
+1 -1
View File
@@ -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() {