DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
fix: integrate batched community PRs (#845's Find scope test uses the Page tool's double-click from #862)
Brandon Thomas23ac4ce3f15c
diff --git a/crates/ui-egui/src/dialogs.rs b/crates/ui-egui/src/dialogs.rsindex b40a0504a..bf096ce31 100644--- a/crates/ui-egui/src/dialogs.rs+++ b/crates/ui-egui/src/dialogs.rs@@ -4429,8 +4429,9 @@ mod tests {let off = app.session.layout().xf(designcraft_engine::doc::SpreadRef::Doc(0)).translation();let x = off.x + before.doc.spreads[0].pages[0].x + 200.0;let y = off.y + 200.0;+ // The Page tool opens Page Size on a double-click (a click selects the page).let events = if tool == "page" {- json!([{"kind": "up", "x": x, "y": y}])+ json!([{"kind": "doubleclick", "x": x, "y": y}])} else {json!([{"kind": "down", "x": x, "y": y}, {"kind": "up", "x": x, "y": y}])};