From 910e06c5eaf6433982c823dbfdf6aa1f5a51dc58 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Tue, 8 Jan 2019 10:35:52 +1200 Subject: [PATCH] Removed logs --- desktop/sources/scripts/cursor.js | 2 +- desktop/sources/scripts/guide.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/desktop/sources/scripts/cursor.js b/desktop/sources/scripts/cursor.js index c680885..4652bad 100644 --- a/desktop/sources/scripts/cursor.js +++ b/desktop/sources/scripts/cursor.js @@ -6,7 +6,7 @@ DOTGRID.Cursor = function () { this.operation = null 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 (to) { this.translation.to = to } diff --git a/desktop/sources/scripts/guide.js b/desktop/sources/scripts/guide.js index 77eac9a..d02e86f 100644 --- a/desktop/sources/scripts/guide.js +++ b/desktop/sources/scripts/guide.js @@ -214,8 +214,6 @@ DOTGRID.Guide = function () { this.draw_translation = function () { if (!DOTGRID.cursor.translation) { return } - console.log(DOTGRID.cursor.translation) - let ctx = this.el.getContext('2d') ctx.beginPath()