| Index: ui/file_manager/gallery/js/image_editor/image_transform.js
|
| diff --git a/ui/file_manager/gallery/js/image_editor/image_transform.js b/ui/file_manager/gallery/js/image_editor/image_transform.js
|
| index 7e26fe9ec2d6e7fcc9b50924a1c51783df5b946c..d9fbc49f81f6f325c3da28bf7719cb4c620c6868 100644
|
| --- a/ui/file_manager/gallery/js/image_editor/image_transform.js
|
| +++ b/ui/file_manager/gallery/js/image_editor/image_transform.js
|
| @@ -523,8 +523,8 @@ DraggableRect.prototype.getDragHandler = function(
|
| // Check new crop.
|
| if (this.dragMode_.newcrop) {
|
| this.dragMode_.newcrop = false;
|
| - this.bounds_.left = this.bounds_.right = newX;
|
| - this.bounds_.top = this.bounds_.bottom = newY;
|
| + this.bounds_.left = this.bounds_.right = initialX;
|
| + this.bounds_.top = this.bounds_.bottom = initialY;
|
| mouseBiasX = 0;
|
| mouseBiasY = 0;
|
| }
|
|
|