mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 08:28:11 +08:00
Code cleanup and refactoring to enhance consistency (#1695)
- Move message handler payload data into structs
- Organize the file structure used by `editor/src/messages/portfolio/document` `/node_graph` and `/graph_operation`
- Make derive attributes use `serde::Serialize, serde::Deserialize` consistently instead of `use serde::{Deserialize, Serialize};` imports
- Various other code cleanup and refactoring
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
mod document_message;
|
||||
mod document_message_handler;
|
||||
|
||||
pub mod graph_operation;
|
||||
pub mod navigation;
|
||||
pub mod node_graph;
|
||||
pub mod overlays;
|
||||
@@ -10,4 +11,4 @@ pub mod utility_types;
|
||||
#[doc(inline)]
|
||||
pub use document_message::{DocumentMessage, DocumentMessageDiscriminant};
|
||||
#[doc(inline)]
|
||||
pub use document_message_handler::{DocumentInputs, DocumentMessageHandler};
|
||||
pub use document_message_handler::{DocumentMessageData, DocumentMessageHandler};
|
||||
|
||||
Reference in New Issue
Block a user