| Index: sky/framework/fling-curve.dart
|
| diff --git a/sky/framework/fling-curve.dart b/sky/framework/fling-curve.dart
|
| index 6a476d7085eb2c0a06d505a232b9615e6390aff5..3a9f54f4a54d03f8476bde7a322e03564db72d0e 100644
|
| --- a/sky/framework/fling-curve.dart
|
| +++ b/sky/framework/fling-curve.dart
|
| @@ -36,7 +36,7 @@ class FlingCurve {
|
|
|
| FlingCurve(double velocity, double startTime) {
|
| double startingVelocity = math.min(_kMaxVelocity, velocity.abs());
|
| - _timeOffset = _velocityAtTime(startingVelocity);
|
| + _timeOffset = _timeAtVelocity(startingVelocity);
|
| _positionOffset = _positionAtTime(_timeOffset);
|
| _startTime = startTime / 1000.0;
|
| _previousPosition = 0.0;
|
|
|