From 571046a708bb405a81cf2b834a60bd5cb670a9fc Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Tue, 15 Mar 2016 22:14:36 -0700 Subject: [PATCH] Minor cleanup in newton --- packages/newton/lib/src/scroll_simulation.dart | 2 +- packages/newton/lib/src/simulation.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/newton/lib/src/scroll_simulation.dart b/packages/newton/lib/src/scroll_simulation.dart index 70efad2fd0c..fb8d10d2674 100644 --- a/packages/newton/lib/src/scroll_simulation.dart +++ b/packages/newton/lib/src/scroll_simulation.dart @@ -45,7 +45,7 @@ class ScrollSimulation extends SimulationGroup { if (_spring == null && (position > _trailingExtent || position < _leadingExtent)) return false; - /// This simulation can only step forward. + // This simulation can only step forward. if (!_isSpringing) { if (position > _trailingExtent) { _isSpringing = true; diff --git a/packages/newton/lib/src/simulation.dart b/packages/newton/lib/src/simulation.dart index 8e494ac7242..512f1b6b594 100644 --- a/packages/newton/lib/src/simulation.dart +++ b/packages/newton/lib/src/simulation.dart @@ -14,7 +14,7 @@ abstract class Simulation { double x(double time); /// The current velocity of the object in the simulation - double dx(double time); // TODO(ianh): remove this; see https://github.com/flutter/flutter/issues/2092 + double dx(double time); /// Returns if the simulation is done at a given time bool isDone(double time);