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.
This commit is contained in:
dotCooCoo committed 2026-12-03 11:02:52 -08:00
1 parent f7ec5d50cc
commit 82fc8b1e5d
1 file changed
+2
+2
View File
@@ -538,6 +538,7 @@ struct BehindKey {
scope: Option<NodeId>,
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,