From 17895e1239f301ea74bc7f072a9c96bc76a3b7e0 Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 31 Oct 2026 00:13:38 +0000 Subject: [PATCH] Integration: #1657 bounding-box comment names the pen tools too --- crates/ui-egui/src/canvas/frames.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/canvas/frames.rs b/crates/ui-egui/src/canvas/frames.rs index 4617b653a..a6a03bf6a 100644 --- a/crates/ui-egui/src/canvas/frames.rs +++ b/crates/ui-egui/src/canvas/frames.rs @@ -171,8 +171,8 @@ pub(super) fn draw_selection(app: &DesignApp, painter: &egui::Painter, xf: &Xf, for poly in path_screen(it, xf, a) { painter.add(egui::Shape::line(poly, Stroke::new(1.0, color))); } - // InDesign draws a 1 pt bounding box around the selection; with the Direct Selection tool, - // only the path and its points. + // InDesign draws a 1 pt bounding box around the selection; with the Direct Selection and + // pen tools, only the path and its points. if sel.items.len() == 1 && sel.text.is_none() && !direct { painter.rect_stroke(xf.rect(a.transform_rect_bbox(it.bounds())), 0.0, Stroke::new(1.0, color), StrokeKind::Middle); } else if sel.key == Some(*id) {