Let our caller know if our fade level actually changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3427 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -54,9 +54,10 @@ public abstract class FadeAnimation extends Animation
|
||||
// documentation inherited
|
||||
public void tick (long timestamp)
|
||||
{
|
||||
_effect.tick(timestamp);
|
||||
_finished = _effect.finished();
|
||||
invalidate();
|
||||
if (_effect.tick(timestamp)) {
|
||||
_finished = _effect.finished();
|
||||
invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
|
||||
Reference in New Issue
Block a user