From 237d93c25fbdb739ea16d37443f95e6fd5d41266 Mon Sep 17 00:00:00 2001 From: David Mann Date: Tue, 1 Dec 2026 19:08:46 +0100 Subject: [PATCH] Move tool: the layer boundary keys skip the same locks as Auto-Select (#18157) Co-Authored-By: Claude Opus 5.5 --- crates/engine-paint/src/cmd/pick_cmds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine-paint/src/cmd/pick_cmds.rs b/crates/engine-paint/src/cmd/pick_cmds.rs index d30cbb71cf..73756cf8f6 100644 --- a/crates/engine-paint/src/cmd/pick_cmds.rs +++ b/crates/engine-paint/src/cmd/pick_cmds.rs @@ -121,7 +121,7 @@ pub fn boundary_candidates(doc: &Document, x: i32, y: i32) -> Vec { layers_hit(doc, x, y, true) .into_iter() .filter(|id| { - let locks = doc.effective_locks(*id); + let locks = crate::layer_multi_cmds::move_locks(doc, *id); !locks.all && !locks.position && !doc.is_background(*id) && doc.layer(*id).is_some_and(|l| l.artboard().is_none()) }) .collect()