diff --git a/js-lib/controller.js b/js-lib/controller.js index 5def314..d17b1fe 100644 --- a/js-lib/controller.js +++ b/js-lib/controller.js @@ -169,7 +169,7 @@ ascii.Controller.prototype.handleDrawButton = function(id) { this.drawFunction = new ascii.DrawLine(this.state); } if (id == 'freeform-button') { - this.drawFunction = new ascii.DrawFreeform(this.state, SPECIAL_VALUE); + this.drawFunction = new ascii.DrawFreeform(this.state, "X"); } if (id == 'erase-button') { this.drawFunction = new ascii.DrawErase(this.state); diff --git a/js-lib/view.js b/js-lib/view.js index 8f8c033..6f6d767 100644 --- a/js-lib/view.js +++ b/js-lib/view.js @@ -14,7 +14,7 @@ ascii.View = function(state) { /** @type {ascii.Vector} */ this.offset = new ascii.Vector(7500, 7500); /** @type {boolean} */ this.dirty = true; // TODO: Should probably save this setting in a cookie or something. - /** @type {boolean} */ this.useLines = TOUCH_ENABLED; + /** @type {boolean} */ this.useLines = false; this.resizeCanvas(); };