mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Fix linting
This commit is contained in:
parent
8616390fab
commit
caa9b97520
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ class Scratch3PenBlocks {
|
|||
penState.saturation = hsv.s * 100;
|
||||
penState.brightness = hsv.v * 100;
|
||||
if (rgb.hasOwnProperty('a')) {
|
||||
penState.transparency = 100 * (1 - rgb.a / 255.0);
|
||||
penState.transparency = 100 * (1 - (rgb.a / 255.0));
|
||||
} else {
|
||||
penState.transparency = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue