Removed logs
This commit is contained in:
parent
b13c811703
commit
910e06c5ea
@ -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 }
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user