Fix regression in flipping/turning selected-but-not-locked objects (#2948)

Fix boolean contradiction in

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
mTvare 2025-07-28 15:29:09 +05:30 committed by GitHub
parent 66cd7a3b76
commit 516e612b4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3375,7 +3375,7 @@ impl NodeNetworkInterface {
self.selected_nodes()
.0
.iter()
.filter(|node| self.is_layer(&node, &[]) && !self.is_layer(&node, &[]))
.filter(|node| self.is_layer(&node, &[]) && !self.is_locked(&node, &[]))
.filter_map(|layer| self.document_metadata.bounding_box_viewport(LayerNodeIdentifier::new(*layer, self)))
.reduce(Quad::combine_bounds)
}