mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-10 23:07:12 -05:00
Revert "Set graphic effect to zero if it's Infinity"
This commit is contained in:
parent
5462fe9966
commit
3478643f44
1 changed files with 0 additions and 2 deletions
|
@ -537,8 +537,6 @@ class Scratch3LooksBlocks {
|
|||
Scratch3LooksBlocks.EFFECT_BRIGHTNESS_LIMIT.min,
|
||||
Scratch3LooksBlocks.EFFECT_BRIGHTNESS_LIMIT.max);
|
||||
break;
|
||||
default:
|
||||
clampedValue = isFinite(clampedValue) ? clampedValue : 0;
|
||||
}
|
||||
return clampedValue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue