mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-23 12:45:48 +00:00
Update canvas.class.js
This commit is contained in:
parent
e8013f4964
commit
66621bb37f
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue