From 42db19d748d4c43c33cad28cb19305789f44c8f2 Mon Sep 17 00:00:00 2001 From: John Alanbrook Date: Wed, 26 Jun 2024 13:12:34 -0500 Subject: [PATCH] add alpha to all colors --- scripts/color.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/color.js b/scripts/color.js index 71c764d..ae63a68 100644 --- a/scripts/color.js +++ b/scripts/color.js @@ -95,10 +95,12 @@ Color.normalize = function(c) { continue; } + c[p][3] = 255; + for (var color of c[p]) { if (color > 1) { fmt = "8b"; - break; + break; } }