Sort messages and message handlers

This commit is contained in:
Keavon Chambers
2022-01-12 16:17:40 -08:00
parent cf66f387d5
commit f63424b676
24 changed files with 834 additions and 781 deletions
+5 -4
View File
@@ -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 {