From 56c9e216994c7645d7a2da34599f50966f6a8273 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Tue, 8 Jan 2019 10:36:08 +1200 Subject: [PATCH] * --- desktop/sources/scripts/cursor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/sources/scripts/cursor.js b/desktop/sources/scripts/cursor.js index 4652bad..cd229e7 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 }; } + 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 }