From 0afe42ddbec4a9ba500158e08270f5956cb996a8 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 29 Nov 2026 20:11:23 +0000 Subject: [PATCH] canvas: connection sites, line ends and edit points take the selection box's rim Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/canvas/handles.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/canvas/handles.rs b/crates/ui-egui/src/canvas/handles.rs index ccc959e9a..52a4f9178 100644 --- a/crates/ui-egui/src/canvas/handles.rs +++ b/crates/ui-egui/src/canvas/handles.rs @@ -115,9 +115,9 @@ pub(super) fn selection_box(st: &deckcraft_engine::DocState, sh: &deckcraft_mode Some((state, control)) } -/// Paints engine-owned points with the framework handle look and state. +/// Paints engine-owned points with the selection box's handle look and state. pub(super) fn paint_handle(draw: &Draw<'_>, style: &StyleCx<'_>, shape: HandleShape, at: egui::Pos2, selected: bool, locked: bool) { - let look = style.handle(); + let look = BoxLook::Document.handle_look(style); let mut state = StateSet::default(); state.flags.set(Flags::SELECTED, selected); if locked {