mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Revert "Don't fix small values less than .01 to 2 decimal points. This matches 2.0 behavior"
This reverts commit 2770f925fe
.
This commit is contained in:
parent
748dbdd241
commit
db33da2753
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class Scratch3LooksBlocks {
|
|||
if (text === '') return text;
|
||||
|
||||
// Limit decimal precision to 2 digits.
|
||||
if (typeof text === 'number' && Math.abs(text) >= .01) {
|
||||
if (typeof text === 'number') {
|
||||
text = parseFloat(text.toFixed(2));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue