Wire captured saved-model group deletion and shared impact review

This commit is contained in:
2026-09-24 22:12:36 -07:00
parent 8688faf8c5
commit 3ab63ef028
36 changed files with 2205 additions and 365 deletions
+4 -1
View File
@@ -26,6 +26,7 @@ pub enum Tool {
#[derive(Debug, Clone)]
pub enum Event {
Selection(crate::app::multiselect::Event),
ModelRemoval(Box<crate::app::saved_removal::Event>),
Remove(crate::app::diagram_removal::Intent),
Choose(Tool),
CreateView(Id),
@@ -104,7 +105,9 @@ impl Event {
match self {
Self::Remove(intent) => Some(intent.context),
// Group events carry their own exact selection envelope.
Self::Selection(_) | Self::Choose(_) | Self::CreateView(_) => None,
Self::Selection(_) | Self::ModelRemoval(_) | Self::Choose(_) | Self::CreateView(_) => {
None
}
Self::Select(c, _)
| Self::Pan(c, _)
| Self::Zoom(c, _)