From caa9b97520db78de8f06d2ff2eaa098988f8d952 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Sat, 4 Nov 2017 10:10:17 -0400 Subject: [PATCH] Fix linting --- src/blocks/scratch3_pen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blocks/scratch3_pen.js b/src/blocks/scratch3_pen.js index 2a0bd4908..407215120 100644 --- a/src/blocks/scratch3_pen.js +++ b/src/blocks/scratch3_pen.js @@ -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; }