Skip to content

Commit

Permalink
Fixing layout animations with transformTemplate (#2499)
Browse files Browse the repository at this point in the history
* Fixing layout animations with transformTemplate

* Updating fix

* Fix
  • Loading branch information
mattgperry authored Jan 24, 2024
1 parent a35b0be commit 2ced138
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,6 @@ export function createProjectionNode<I>({

const prevLayout = this.layout
this.layout = this.measure(false)

this.layoutCorrected = createBox()
this.isLayoutDirty = false
this.projectionDelta = undefined
Expand Down Expand Up @@ -1282,6 +1281,7 @@ export function createProjectionNode<I>({
(this.treeScale.x !== 1 || this.treeScale.y !== 1)
) {
lead.target = lead.layout.layoutBox
lead.targetWithTransforms = createBox()
}

const { target } = lead
Expand Down

0 comments on commit 2ced138

Please sign in to comment.