Replies: 2 comments
-
|
Do you want to make a Pull request? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This change has been added btw for anyone who finds this thread |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a project where I need the default behavior of transformer to keep proportions while scaling. To achieve this, I am using the
transformer({ keepRatio: true }). But now in some cases I want users to allow disregarding the proportions when the shift key is held during the transform. But the current behavior of transformer doesn't make this possible.Ideally there should be a variable to something like
shiftBehaviorwhich can bedefault,invertedornonedepending on which the value of the variable keepProportions is calculated.konva/src/shapes/Transformer.ts
Line 709 in 578191d
Beta Was this translation helpful? Give feedback.
All reactions