Wire captured saved-model group deletion and shared impact review
This commit is contained in:
@@ -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, _)
|
||||
|
||||
Reference in New Issue
Block a user