Removed logs

This commit is contained in:
Devine Lu Linvega 2019-01-08 10:35:52 +12:00
parent b13c811703
commit 910e06c5ea
2 changed files with 1 additions and 3 deletions

View File

@ -6,7 +6,7 @@ DOTGRID.Cursor = function () {
this.operation = null this.operation = null
this.translate = function (from = null, to = null, multi = false, copy = false, layer = false) { this.translate = function (from = null, to = null, multi = false, copy = false, layer = false) {
if ((from || to) && this.translation == null) { this.translation = { multi: multi, copy: copy, layer: layer }; console.log('Begin translation', multi, copy, layer) } if ((from || to) && this.translation == null) { this.translation = { multi: multi, copy: copy, layer: layer }; }
if (from) { this.translation.from = from } if (from) { this.translation.from = from }
if (to) { this.translation.to = to } if (to) { this.translation.to = to }

View File

@ -214,8 +214,6 @@ DOTGRID.Guide = function () {
this.draw_translation = function () { this.draw_translation = function () {
if (!DOTGRID.cursor.translation) { return } if (!DOTGRID.cursor.translation) { return }
console.log(DOTGRID.cursor.translation)
let ctx = this.el.getContext('2d') let ctx = this.el.getContext('2d')
ctx.beginPath() ctx.beginPath()