DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Integration: #1073 the Effects dialog test reads the shadow distance with four inch decimals
aiongg6d24b64dd570
diff --git a/crates/ui-egui/src/effects_dialog.rs b/crates/ui-egui/src/effects_dialog.rsindex 4bdba85f2..456ca4a58 100644--- a/crates/ui-egui/src/effects_dialog.rs+++ b/crates/ui-egui/src/effects_dialog.rs@@ -699,7 +699,7 @@ mod tests {] {assert!(texts.iter().any(|x| x.trim() == t), "{t}: {texts:?}");}- assert!(texts.iter().any(|x| x.contains("0.097 in")), "distance in inches: {texts:?}");+ assert!(texts.iter().any(|x| x.contains("0.0972 in")), "distance in inches: {texts:?}");// Preview: the shadow is on the page while the dialog is open, without an undo step.frame(&mut app, &ctx);assert!(fx(&app).inner_shadow.on);