summaryrefslogtreecommitdiff
path: root/js/lex.js
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2015-05-18 18:26:54 +0200
committerJulie Lala <jules@okfoc.us>2015-05-18 18:26:54 +0200
commit94ee178000e256dc41438cf4d867e1bced09563e (patch)
treeb83c789d582b00a5b7eeb6f16a8484290ac5b8e3 /js/lex.js
parentb8d2dfbbd1c934a7c09da3a25a4c53ff0c459e92 (diff)
fix brush loading + erasing
Diffstat (limited to 'js/lex.js')
-rw-r--r--js/lex.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lex.js b/js/lex.js
index c68d0e0..b554d85 100644
--- a/js/lex.js
+++ b/js/lex.js
@@ -95,7 +95,7 @@ Lex.prototype.ne = function(lex){
return ! this.eq(lex)
}
Lex.prototype.clear = function(){
- this.bg = fillColor
+ this.bg = colors.black
this.fg = 0
this.char = " "
this.opacity = 0