-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rotatingPointOffset doesn't work #559
Comments
@paulolafoudre |
I'm also having this issue, does anyone solved it ? |
RotatingPointOffset was removed in fabric.js version 4. Instead, a parameter offsetY was introduced on the controls. This needs to be modified with: window.fabric.Object.prototype.controls. mtr.offsetY = [offsetValue] These controls are initialized with default values at deployment of fabric. RotatingPointOffset as config parameter of objects doesn't exist anymore in fabric. |
As a workaround I am using something similar to @LeakAGeek 's solution, but outside from editor (so I can use it as an untouched npm library) and for each individual object separately (my particular use case is superfast image watermarking without the need to upload files and I anyway support one textualwatermark only at the moment):
|
Describe the bug
I am using "tui-image-editor": "^3.11.0" and during the creation of a new tui Instance, i give this as selectionStyle :
white is good
cornerSize is good
rotatingPointOffset is ignored (i tried 5, 100, 1000 nothing has changed in the view)
Nothing in particular appears in console prompt.
Desktop:
Smartphone:
The text was updated successfully, but these errors were encountered: