Add persisted state diagram authoring and context-bound gestures
This commit is contained in:
@@ -32,6 +32,12 @@ pub enum Event {
|
||||
Viewport(Context, iced::Size),
|
||||
Fit(Context),
|
||||
EditTransition(Context, Id),
|
||||
ContextMenu {
|
||||
context: Context,
|
||||
object: Id,
|
||||
placement: Option<Id>,
|
||||
anchor: iced::Point,
|
||||
},
|
||||
CreateAt {
|
||||
context: Context,
|
||||
owner: Id,
|
||||
@@ -71,6 +77,7 @@ impl Event {
|
||||
| Self::Viewport(c, _)
|
||||
| Self::Fit(c)
|
||||
| Self::EditTransition(c, _)
|
||||
| Self::ContextMenu { context: c, .. }
|
||||
| Self::CreateAt { context: c, .. }
|
||||
| Self::Place { context: c, .. }
|
||||
| Self::Move { context: c, .. }
|
||||
|
||||
Reference in New Issue
Block a user