summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authortimb <opuscule@gmail.com>2015-05-09 06:25:22 -0700
committertimb <opuscule@gmail.com>2015-05-09 06:25:22 -0700
commitb8d2dfbbd1c934a7c09da3a25a4c53ff0c459e92 (patch)
tree1b9a320a1805c8ef6a80e188dc0c7c442ab07f09 /js
parentda3cc9f9efc19c2cbf9abb9136814deed8c846d0 (diff)
fix application of palette to brush for fg text coloring
Diffstat (limited to 'js')
-rw-r--r--js/ui/palette.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ui/palette.js b/js/ui/palette.js
index f5dee8c..63ea20e 100644
--- a/js/ui/palette.js
+++ b/js/ui/palette.js
@@ -14,7 +14,7 @@ var palette = (function(){
palette.forEach(function(lex,x,y){
if (y < 2) {
lex.bg = palette_fn(x>>1)
- lex.fg = fillColor
+ lex.fg = palette_fn(x>>1)
}
else {
lex.bg = fillColor