From 10762c7f7cd90a4aaa00b5a3c8cec13f460c1eb4 Mon Sep 17 00:00:00 2001 From: griffpatch Date: Thu, 16 Nov 2017 08:33:10 +0000 Subject: [PATCH] Fix misunderstanding of mask3b now that I can bypass the build failure and test --- src/RenderWebGL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RenderWebGL.js b/src/RenderWebGL.js index 8341613..501e18a 100644 --- a/src/RenderWebGL.js +++ b/src/RenderWebGL.js @@ -450,7 +450,7 @@ class RenderWebGL extends EventEmitter { // When using masking such that the background fill color will showing through, ensure we don't // fill using the same color that we are trying to detect! - if (mask3b && color3b[0] > 196 && color3b[1] > 196 && color3b[2] > 196) { + if (color3b[0] > 196 && color3b[1] > 196 && color3b[2] > 196) { fillBackgroundColor = COLOR_BLACK; }