mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-02 02:36:14 -06:00
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:
co-authored by
Claude Opus 5.5
parent
6b91206679
commit
0afe42ddbe
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user