mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 22:58:12 +08:00
Fix sorting of message enum variants
This commit is contained in:
@@ -15,11 +15,15 @@ impl MessageHandler<OverlaysMessage, bool> for OverlaysMessageHandler {
|
||||
|
||||
#[remain::sorted]
|
||||
match message {
|
||||
ClearAllOverlays => todo!(),
|
||||
// Sub-messages
|
||||
#[remain::unsorted]
|
||||
DispatchOperation(operation) => match self.overlays_graphene_document.handle_operation(&operation) {
|
||||
Ok(_) => (),
|
||||
Err(e) => log::error!("OverlaysError: {:?}", e),
|
||||
},
|
||||
|
||||
// Messages
|
||||
ClearAllOverlays => todo!(),
|
||||
Rerender => (),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user