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 }