Fixed dirty draw bug for ascii mode
This commit is contained in:
parent
0bc8e55bb3
commit
7f48cc7e98
|
@ -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));
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue