Added support for timer reporter.

This commit is contained in:
Scimonster 2013-10-30 15:50:29 +02:00
parent ebef6d5294
commit 296e2fa35c
2 changed files with 4 additions and 0 deletions

View file

@ -99,6 +99,9 @@ Reporter.prototype.update = function() {
case 'costumeIndex':
newValue = target.currentCostumeIndex + 1;
break;
case 'timer':
newValue = interp.primitiveTable.timer().toFixed(3);
break;
}
this.valueEl.html(newValue);
if (this.mode == 3)