mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 14:18:11 +08:00
Clean up .graphite file serde encoding
This commit is contained in:
@@ -38,8 +38,6 @@ pub struct Document {
|
||||
pub collapsed_folders: Vec<LayerNodeIdentifier>,
|
||||
#[serde(skip)]
|
||||
pub metadata: DocumentMetadata,
|
||||
#[serde(default)]
|
||||
pub commit_hash: String,
|
||||
}
|
||||
|
||||
impl PartialEq for Document {
|
||||
@@ -108,7 +106,6 @@ impl Default for Document {
|
||||
},
|
||||
metadata: Default::default(),
|
||||
collapsed_folders: Vec::new(),
|
||||
commit_hash: String::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user