From 82fc8b1e5df455667d35cd6eb9657d48abaf714c Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 3 Dec 2026 11:02:52 -0800 Subject: [PATCH] Selection: Select Behind rechecks when Select Inside Unfilled Shapes changes The Selection tool keeps the answer of its last Select Behind hit test for the same point. The key it is stored under did not include whether unfilled interiors are hit, so after the preference was turned on or off, a Cmd/Ctrl-click at the same point could use the old answer. The key now includes it. --- crates/tools/src/select.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/tools/src/select.rs b/crates/tools/src/select.rs index 1d7bd558e0..fe23341fb6 100644 --- a/crates/tools/src/select.rs +++ b/crates/tools/src/select.rs @@ -538,6 +538,7 @@ struct BehindKey { scope: Option, outline: bool, path_only: bool, + unfilled_interiors: bool, type_path_only: bool, skip_guides: bool, handles_multiple: bool, @@ -556,6 +557,7 @@ impl BehindKey { scope: cx.isolation, outline: opt.outline, path_only: opt.path_only, + unfilled_interiors: opt.unfilled_interiors, type_path_only: opt.type_path_only, skip_guides: opt.skip_guides, handles_multiple: cx.handles_multiple,