Replies: 1 comment
-
Do you want to make a Pull request? |
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
-
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
shiftBehavior
which can bedefault
,inverted
ornone
depending 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