Scale animations now report when they've finished.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3319 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ted V
2005-01-28 00:07:56 +00:00
parent d8749a8b41
commit 81487748dc
@@ -122,6 +122,11 @@ public class ScaleAnimation extends Animation
_scale = scale;
invalidate();
}
// Check if the animation completed
if (weight >= 1.0f) {
_finished = true;
}
}
// documentation inherited