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 {