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.87k stars 1.27k forks source link

Undo a Rotated Object not working #578

Open 1shivsharma1 opened 3 years ago

1shivsharma1 commented 3 years ago

Describe the bug If we add an object and rotate it to any degree and try to undo the rotation it will not work.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://nhn.github.io/tui.image-editor/latest/tutorial-example02-useApiDirect
  2. Click on Icon Menu
  3. Click on Cross Icon beside the register custom icon button
  4. Paste this icon on the image by clicking a left mouse button
  5. Now rotate it to any degree
  6. Click on undo button from the menu
  7. It will not undo the rotated icon

Expected behavior The object which is rotated by the user should be undone and go to the previous state.

Screenshots Rotated cross icon image

Desktop (please complete the following information):

lja1018 commented 3 years ago

@1shivsharma1 Thank you for the information. I checked this bug. I will fix it :)

1shivsharma1 commented 3 years ago

Hi @lja1018 , Any update on this issue?

dongup commented 1 year ago

Hi @lja1018, Do you have any update on this issue? I am using the lastest version on my project, and I encounter the same issue, please help me. =((

lja1018 commented 1 year ago

@1shivsharma1 @dongup It hasn't been fixed yet. I'm sorry. I'll add it to the to-do list.