PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Integration: fix the two merged tests that no longer compile against main (StrokeFx overprint, per-tool Sample All Layers)
aionggd1cd1387a1c2
diff --git a/crates/engine/src/cutout_cmds.rs b/crates/engine/src/cutout_cmds.rsindex cceb60036..7e4fafbbe 100644--- a/crates/engine/src/cutout_cmds.rs+++ b/crates/engine/src/cutout_cmds.rs@@ -323,6 +323,7 @@ mod tests {size: 3.0,position: photocraft_doc::StrokePosition::Outside,paint: photocraft_doc::FxPaint::Color(photocraft_color::Color::rgb(0.0, 0.0, 1.0)),+ overprint: false,})];Ok(())})diff --git a/crates/ui-egui/src/object_finder.rs b/crates/ui-egui/src/object_finder.rsindex 559c6fbf5..267c32677 100644--- a/crates/ui-egui/src/object_finder.rs+++ b/crates/ui-egui/src/object_finder.rs@@ -300,7 +300,7 @@ mod tests {assert!(u.shown.is_none() && !u.busy);assert_eq!(u.hint, Some(empty_layer_hint()));// Sample All Layers on: no hint, the object is looked up.- app.ui.tool_options.sample_all_layers = true;+ app.ui.tool_options.sample_all.object_selection = true;assert!(update(&mut app, Some([100.0, 80.0]), false, 100.0).hint.is_none());assert!(hover(&mut app, [100.0, 80.0]).shown.is_some());}