Move tool: the layer boundary keys skip the same locks as Auto-Select (#18157)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
David MannandClaude Opus 5.5 committed 2026-12-01 19:08:46 +01:00
1 parent 046f4fe97c
commit 237d93c25f
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ pub fn boundary_candidates(doc: &Document, x: i32, y: i32) -> Vec<LayerId> {
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()