canvas: connection sites, line ends and edit points take the selection box's rim

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Dylan M. Taylor
2026-11-29 20:11:23 +00:00
co-authored by Claude Opus 5.5
parent 6b91206679
commit 0afe42ddbe
+2 -2
View File
@@ -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 {