DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Integration: cargo fmt
aiongg00fd6c4e85c5
diff --git a/crates/engine/src/cmd/find.rs b/crates/engine/src/cmd/find.rsindex 4ac02d928..4456dafa0 100644--- a/crates/engine/src/cmd/find.rs+++ b/crates/engine/src/cmd/find.rs@@ -621,7 +621,8 @@ fn change(s: &mut Session, p: &Value) -> Result<Value> {return Err(bad("find.change", format!("no paragraph style `{n}`")));}// InDesign: with a Change Format and nothing in Change to, the found text is only formatted.- let format_only = str_param(p, "change").unwrap_or("").is_empty() && (char_style.is_some() || para_style.is_some() || !over.is_empty() || !cleared.is_empty());+ let format_only =+ str_param(p, "change").unwrap_or("").is_empty() && (char_style.is_some() || para_style.is_some() || !over.is_empty() || !cleared.is_empty());let context = scope(s, p)?;let targets = context.targets.clone();// Change: only the text Find Next found, the selection, while it is still a match (as Finddiff --git a/crates/ui-egui/src/panels/properties.rs b/crates/ui-egui/src/panels/properties.rsindex 1f51fd30c..d946fa190 100644--- a/crates/ui-egui/src/panels/properties.rs+++ b/crates/ui-egui/src/panels/properties.rs@@ -30,9 +30,9 @@ pub use flex::flex_panel;use flex::flex_section;pub(crate) use links::run_update_links;pub use links::{info_panel, links_panel, preflight_panel, update_links};-use object::{align_row, appearance_section, guide_section, quick_actions_object, transform_section, wrap_section};#[cfg(test)]use object::align_to_icon;+use object::{align_row, appearance_section, guide_section, quick_actions_object, transform_section, wrap_section};pub(crate) use object::{corner_shape_button, corner_type_dropdown, paint_corner_shape, preview_row, ref_point_proxy, stroke_type_dropdown};use object_panels::pathfinder_row;pub use object_panels::{align_panel, attributes_panel, effects_panel, pathfinder_panel, stroke_panel, wrap_panel};