Update canvas.class.js

This commit is contained in:
Andrea Bogazzi 2014-08-12 23:02:55 +02:00
parent e8013f4964
commit 66621bb37f

View file

@ -504,11 +504,11 @@
transform.newScaleY = localMouse.y / (target.height + target.strokeWidth);
if (lockScalingFlip && transform.newScaleX <= 0 && transform.newScaleX < target.scaleX) {
forbidScalingX = true;
forbidScalingX = true;
}
if (lockScalingFlip && transform.newScaleY <= 0 && transform.newScaleY < target.scaleY) {
forbidScalingY = true;
forbidScalingY = true;
}
if (by === 'equally' && !lockScalingX && !lockScalingY) {