mirror of
https://github.com/mdgriffith/elm-animator.git
synced 2024-09-11 12:47:52 +03:00
Remove remaining instances of velocity smoothing
This commit is contained in:
parent
1bb5bf8b2c
commit
016ede0536
@ -112,7 +112,7 @@ movement timeline lookup =
|
||||
targetMovement =
|
||||
lookup (Timeline.getEvent target)
|
||||
in
|
||||
Move.transitionTo progress
|
||||
Move.at progress
|
||||
startTransition
|
||||
arrived
|
||||
targetMovement
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user