From 0ae73560641875fb6dbcc37e2faa94b7eabefc6f Mon Sep 17 00:00:00 2001 From: yoriswind Date: Sun, 1 Nov 2026 13:15:34 -0800 Subject: [PATCH] Respect mask creation clearing the selection in the control test --- crates/engine/tests/atn_mapped_identifiers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/tests/atn_mapped_identifiers.rs b/crates/engine/tests/atn_mapped_identifiers.rs index a0f54a14cf..35cce20f21 100644 --- a/crates/engine/tests/atn_mapped_identifiers.rs +++ b/crates/engine/tests/atn_mapped_identifiers.rs @@ -423,7 +423,7 @@ fn group_transparency_sources_fail_without_changing_selection() { // The group's explicit mask remains a valid source. s.execute("layer.layerMask.revealSelection", json!({"layer":group.0})).unwrap(); - s.execute("select.deselect", json!({})).unwrap(); + assert!(s.active().unwrap().doc.selection.is_none()); s.execute("select.loadSelection", json!({"channel":"mask","layer":params["layer"]})).unwrap(); assert_eq!(s.active().unwrap().doc.selection.as_ref().unwrap().read_region(Rect::from_xywh(0, 0, 2, 1)), vec![1.0, 0.0]); }