Fixed timer precision
This commit is contained in:
parent
6c31987bbf
commit
e74d03cb97
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ Reporter.prototype.update = function() {
|
|||
newValue = target.currentCostumeIndex + 1;
|
||||
break;
|
||||
case 'timer':
|
||||
newValue = interp.primitiveTable.timer();
|
||||
newValue = '' + Math.round(interp.primitiveTable.timer() * 10) / 10;
|
||||
break;
|
||||
}
|
||||
if (typeof newValue === 'number' && Math.abs(newValue) > 0.001) {
|
||||
|
|
Reference in a new issue