Skip to content

Commit

Permalink
fix: fix changed defaultGroupOrigin
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Dec 24, 2022
1 parent c26e5a9 commit 8d0ed9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-moveable/src/MoveableGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ class MoveableGroup extends MoveableManager<GroupableProps> {
if (
isContainerChanged
|| isTargetChanged
|| this.transformOrigin !== (props.defaultGroupOrigin || "50% 50%")
|| changed.length
|| targets.length && !isDeepArrayEquals(this._targetGroups, props.targetGroups || [])
) {
Expand Down

0 comments on commit 8d0ed9b

Please sign in to comment.