Save: a native save's precision is not kept for new documents

This commit is contained in:
dotCooCoo
2026-10-29 10:27:33 -07:00
parent 3131b7db33
commit f41e40bbc6
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -871,7 +871,7 @@ impl SaveJob {
let saved = self.plan.retargets() && self.plan.path.is_some();
if saved && self.plan.format.id == "vectorcraft" {
let mut last = self.plan.options.clone();
last.retain(|k, _| !ARTBOARD_PARAMS.contains(&k.as_str()) && !matches!(k.as_str(), "separateArtboards" | "compress"));
last.retain(|k, _| !ARTBOARD_PARAMS.contains(&k.as_str()) && !matches!(k.as_str(), "separateArtboards" | "compress" | "precision"));
s.prefs.native_save_options = last;
}
// The other open documents that place this one show the new version.