summaryrefslogtreecommitdiff
path: root/js/matrix.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/matrix.js')
-rw-r--r--js/matrix.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/matrix.js b/js/matrix.js
index 5cecfed..73c2992 100644
--- a/js/matrix.js
+++ b/js/matrix.js
@@ -52,8 +52,7 @@ Matrix.prototype.fill = function(fg, bg){
this.fg = fg
this.bg = bg
this.forEach(function(lex,x,y){
- lex.fg = fg
- lex.bg = bg
+ lex.fill(fg,bg)
lex.build()
})
}