From 3d7cf11518946495efbf2b71f65174bb2f99b9d7 Mon Sep 17 00:00:00 2001 From: Iam Naughton Phier Date: Thu, 7 Aug 2014 01:38:49 +0300 Subject: [PATCH] bugfix: alpha channel now opaque (not transparent) --- editor/sahliedit.js | 2 +- editor/sahliedit.litcoffee | 2 +- todo.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/sahliedit.js b/editor/sahliedit.js index a1b9870..ff89991 100644 --- a/editor/sahliedit.js +++ b/editor/sahliedit.js @@ -400,7 +400,7 @@ } return _results; })(); - x.push(0); + x.push(255); return x; }; diff --git a/editor/sahliedit.litcoffee b/editor/sahliedit.litcoffee index 73ed325..c592cf7 100644 --- a/editor/sahliedit.litcoffee +++ b/editor/sahliedit.litcoffee @@ -334,7 +334,7 @@ we actually _want_ that limitation in the output. color = color.slice(1) c1 = [ color[0..1], color[2..3], color[4..5] ] x = (hex2dec i for i in c1) - x.push 0 + x.push 255 x Need a way to convert the array back to the color name. diff --git a/todo.txt b/todo.txt index 357bfae..9490917 100644 --- a/todo.txt +++ b/todo.txt @@ -8,7 +8,7 @@ x 2014-08-06 @EDITOR save (print) routine @EDITOR text/bg colors change 'SAHLI' thing x 2014-08-07 @EDITOR update the line item when saving - what the heck is 'line item?' (meant update the listing to show edits) -(A) fix color functions to use alpha (so they show up!) +x 2014-08-07 (A) fix color functions to use alpha (so they show up!) x 2014-08-06 (A) Add "type" of file(format) - plain, xbin, etc.( x 2014-08-06 (A) Create Editor - Standalone @EDITOR