nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.84k stars 1.26k forks source link

fix: rotatingPointOffset (fixes #559) #797

Open LeakAGeek opened 1 year ago

LeakAGeek commented 1 year ago

RotatingPointOffset was removed from fabric since v4. fabric uses default controls with an extra offsetY parameter to handle this now. They can be overwritten with custom values, so with initialization of the editor, setting the mtr control offsetY will create the desired behaviour.

Value also included in UI example

stale[bot] commented 1 year ago

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!

lja1018 commented 1 year ago

@LeakAGeek Thank you for your contribution. I'll review this PR.

stale[bot] commented 1 year ago

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!

stale[bot] commented 1 year ago

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!