Just as clear without this const.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@713 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -172,8 +172,7 @@ public class Mp3AudioPlayer extends EventDispatcher
|
||||
{
|
||||
const needTimer :Boolean = (_state == MediaPlayerCodes.STATE_PLAYING) &&
|
||||
hasEventListener(MediaPlayerCodes.POSITION);
|
||||
const isRunning :Boolean = _positionChecker.running;
|
||||
if (needTimer != isRunning) {
|
||||
if (needTimer != _positionChecker.running) {
|
||||
if (needTimer) {
|
||||
_positionChecker.start();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user