mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 22:38:12 +08:00
Sort messages and message handlers
This commit is contained in:
@@ -27,16 +27,17 @@ pub struct Path {
|
||||
data: PathToolData,
|
||||
}
|
||||
|
||||
#[remain::sorted]
|
||||
#[impl_message(Message, ToolMessage, Path)]
|
||||
#[derive(PartialEq, Clone, Debug, Hash, Serialize, Deserialize)]
|
||||
pub enum PathMessage {
|
||||
DragStart,
|
||||
PointerMove,
|
||||
DragStop,
|
||||
|
||||
// Standard messages
|
||||
Abort,
|
||||
DocumentIsDirty,
|
||||
|
||||
DragStart,
|
||||
DragStop,
|
||||
PointerMove,
|
||||
}
|
||||
|
||||
impl<'a> MessageHandler<ToolMessage, ToolActionHandlerData<'a>> for Path {
|
||||
|
||||
Reference in New Issue
Block a user