diff options
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/SelectionTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js index e8035255..3df9a532 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -403,7 +403,7 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, { | |||
403 | case 0: | 403 | case 0: |
404 | // Resize North-West | 404 | // Resize North-West |
405 | delta = ~~(data.pt1[0] - data.pt0[0]); | 405 | delta = ~~(data.pt1[0] - data.pt0[0]); |
406 | deltaW = this._undoArray.map(function(item) { return item._w + delta + "px"}); | 406 | deltaW = this._undoArray.map(function(item) { return item._w - delta + "px"}); |
407 | deltaL = this._undoArray.map(function(item) { return item._x + delta + "px"}); | 407 | deltaL = this._undoArray.map(function(item) { return item._x + delta + "px"}); |
408 | delta = ~~(data.pt1[1] - data.pt0[1]); | 408 | delta = ~~(data.pt1[1] - data.pt0[1]); |
409 | deltaH = this._undoArray.map(function(item) { return item._h - delta + "px"}); | 409 | deltaH = this._undoArray.map(function(item) { return item._h - delta + "px"}); |