*
This commit is contained in:
parent
910e06c5ea
commit
56c9e21699
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user