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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user