Remove remaining instances of velocity smoothing

This commit is contained in:
Matthew Griffith 2024-05-05 13:27:52 -04:00
parent 1bb5bf8b2c
commit 016ede0536
2 changed files with 2 additions and 7 deletions

View File

@ -112,7 +112,7 @@ movement timeline lookup =
targetMovement =
lookup (Timeline.getEvent target)
in
Move.transitionTo progress
Move.at progress
startTransition
arrived
targetMovement

View File

@ -699,7 +699,7 @@ toPropCurves2 lookup prev target now startTime endTime future cursor =
rendered.sections
, state =
rendered.state
|> Move.transitionTo progress
|> Move.at progress
startTime
targetTime
targetProp
@ -747,11 +747,6 @@ toPropCurves2 lookup prev target now startTime endTime future cursor =
getCommonTransformTransition
targetProps
Transition.standard
|> Transition.withVelocities fastestVelocity
-- If we do any transition smoothing
-- we'll need to normalize this velocity too
--Estimation.velocityAtTarget lookupState target future
0
else
getCommonTransformTransition