Skip to content

Commit

Permalink
#2599 - Fix unselected enhanced flag rotating
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleicul committed Jun 1, 2023
1 parent 973cefe commit 5ca11aa
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,8 @@ export function fromRotate(restruct, selection, center, angle) {
})
}

const stereoFlags =
selection.enhancedFlags || Array.from(restruct.enhancedFlags.keys())
if (stereoFlags) {
stereoFlags.forEach((flagId) => {
if (selection.enhancedFlags) {
selection.enhancedFlags.forEach((flagId) => {
const frId = flagId
const frag = restruct.molecule.frags.get(frId)
action.addOp(
Expand Down

0 comments on commit 5ca11aa

Please sign in to comment.