Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry authored and mergatron[bot] committed Sep 4, 2023
1 parent 654878d commit c3f344d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { VisualElementAnimationOptions } from "./types"
import { animateMotionValue } from "./motion-value"
import { isWillChangeMotionValue } from "../../value/use-will-change/is"
import { setTarget } from "../../render/utils/setters"
import { AnimationPlaybackControls } from "../types"
import { AnimationPlaybackControls, Transition } from "../types"

/**
* Decide whether we should block this animation. Previously, we achieved this
Expand Down Expand Up @@ -64,7 +64,6 @@ export function animateTarget(

const valueTransition = {
delay,
syncStart: false,
elapsed: 0,
...transition,
}
Expand All @@ -84,7 +83,7 @@ export function animateTarget(
value,
frame
)
valueTransition.syncStart = true
;(valueTransition as Transition).syncStart = true
}
}

Expand Down

0 comments on commit c3f344d

Please sign in to comment.