Revert "Set graphic effect to zero if it's Infinity"

This commit is contained in:
adroitwhiz 2020-06-18 12:17:57 -04:00 committed by GitHub
parent 5462fe9966
commit 3478643f44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}