Preserve exact diagram usage identity and separate visual focus

This commit is contained in:
2026-09-12 15:10:33 -07:00
parent f23615ffeb
commit 46b4f3c0d0
33 changed files with 5367 additions and 57 deletions
@@ -165,6 +165,9 @@ pub fn view<'a>(app: &'a App, machine: Id, mut out: Column<'a, Message>) -> Elem
diagram: id,
context,
selected: app.selected,
navigation_focus: app
.diagram_focus(crate::diagram_usage::Surface::Saved(id))
.map(|usage| usage.bounds),
tool: state.tool,
zoom: state.zoom,
pan: state.pan,