rustfmt crates/ui-egui/src/export_dialog.rs (Format red on main since #672 + #733) (#822)

Formatting only: #672 and #733 both changed export_dialog.rs and were each
formatted on their own branches; merged together, cargo fmt --check fails.

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Tanish MankuandClaude Opus 5.5 authored and GitHub committed 2026-10-07 14:22:39 -07:00
1 parent b6f5df3b3f
commit e1cf321183
1 file changed
+5 -1
+5 -1
View File
@@ -97,7 +97,11 @@ fn s_fmt(f: &Map<String, Value>) -> String {
}
fn settings(f: &Map<String, Value>) -> ExportSettings {
ExportSettings { jpeg_quality: (s_fmt(f) == "jpg").then(|| n(f, "quality", 85.0).clamp(1.0, 100.0) as u8), xmp_all: s(f, "metadata") == "all", ..Default::default() }
ExportSettings {
jpeg_quality: (s_fmt(f) == "jpg").then(|| n(f, "quality", 85.0).clamp(1.0, 100.0) as u8),
xmp_all: s(f, "metadata") == "all",
..Default::default()
}
}
/// Estimated size (bytes) from a ≤512 px proxy encode, scaled by pixel count.