diff options
Diffstat (limited to 'js/lex.js')
| -rw-r--r-- | js/lex.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,8 +2,8 @@ direction = [1,0] function Lex (x,y) { if (typeof x == "number") { - this.x = x this.y = y + this.x = x this.span = document.createElement("span") } else { @@ -53,6 +53,7 @@ Lex.prototype.erase = function (lex){ Lex.prototype.fill = function(fg,bg){ this.fg = fg this.bg = bg + this.opacity = 1 this.build() } Lex.prototype.eq = function(lex){ @@ -62,6 +63,7 @@ Lex.prototype.clear = function(){ this.bg = 1 this.fg = 0 this.char = " " + this.opacity = 0 this.build() } Lex.prototype.isClear = function(){ |
