Fixed dirty draw bug for ascii mode

This commit is contained in:
Lewis Hemens 2014-03-10 23:00:50 +00:00
parent 0bc8e55bb3
commit 7f48cc7e98
2 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ W.prototype.o = function() {
$("#use-ascii-button").click(function() {
$(".dialog").removeClass("visible");
this.view.s = !1;
this.view.c = !1;
this.view.c = !0;
}.bind(this));
$(window).keypress(function(a) {
a.ctrlKey || a.metaKey || 13 == a.keyCode || this.d.h(String.fromCharCode(a.keyCode));

View File

@ -126,7 +126,7 @@ ascii.Controller.prototype.installBindings = function() {
$('#use-ascii-button').click(function(e) {
$('.dialog').removeClass('visible');
this.view.useLines = false;
this.view.dirty = false;
this.view.dirty = true;
}.bind(this));
$(window).keypress(function(e) {