mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
Preserve canonical preference attribute order
This commit is contained in:
1 file changed
+3
-1
@@ -109,11 +109,13 @@ impl DocumentPreferences {
|
||||
}
|
||||
if let Some(value) = self.primary_text_frame {
|
||||
attrs.push(("CreatePrimaryTextFrame".into(), bool_string(value)));
|
||||
attrs.push(("MasterTextFrame".into(), bool_string(value)));
|
||||
}
|
||||
if let Some(value) = self.column_guides_locked {
|
||||
attrs.push(("ColumnGuideLocked".into(), bool_string(value)));
|
||||
}
|
||||
if let Some(value) = self.primary_text_frame {
|
||||
attrs.push(("MasterTextFrame".into(), bool_string(value)));
|
||||
}
|
||||
attrs.push(("SnippetImportUsesOriginalLocation".into(), "false".into()));
|
||||
attrs
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user