Don't need this, was testing the numerator anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4588 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -34,9 +34,7 @@ public class FPSDisplay extends TextField
|
|||||||
// the difference between 1 frame)
|
// the difference between 1 frame)
|
||||||
var frames :Number = _frameStamps.length - 1;
|
var frames :Number = _frameStamps.length - 1;
|
||||||
|
|
||||||
if (frames > 0) {
|
this.text = String(frames / seconds);
|
||||||
this.text = String(frames / seconds);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Timestamps of past ENTER_FRAME events. */
|
/** Timestamps of past ENTER_FRAME events. */
|
||||||
|
|||||||
Reference in New Issue
Block a user