-
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
Undoing selection changes causes selected objects to shift in screen #522
Labels
Comments
@fjwong |
lja1018
added a commit
that referenced
this issue
Mar 5, 2021
lja1018
added a commit
that referenced
this issue
Mar 5, 2021
lja1018
added a commit
that referenced
this issue
Mar 5, 2021
* feat: add history feature (#544) * feat: add history element * feat: add history list element, event listener * feat: add history, panel menu component * test: add history component test * chore: remove default history * refactor: constant classname * feat: add history by action * feat: add multiUndo, multiRedo * chore: apply api review * chore: apply detail history * chore: add execution command event * chore: add mask history * chore: select load image history when init history * chore: apply code review * fix: list scroll position is bottom when list element added * feat: add help toolbar * chore: add help menus const * chore: add history icon svg file * chore: add toggle history menu * chore: add list, panel, item style * chore: add history action icon * chore: change history title type * chore: add history template html * chore: resolve detail history information * chore: resolve tooltip position with helpmenubar position * test: fix broken test * chore: add 3 history icons * refactor: apply history name constants * chore: apply alias * chore: not toggle when history menu clicked * fix: save undo data when text added (#545) * fix: group selection object position when undo, redo in API direct page (#522) (#546) * fix: fire object modified event when cropzone changed [#519] (#547) * fix: not fire object modified event when cropzone is modified [#519] # Conflicts: # apps/image-editor/src/js/imageEditor.js * refactor: apply const # Conflicts: # apps/image-editor/src/js/imageEditor.js * fix: resize cropzone with ratio by pressing shift key (#548) * fix: save undo data when text added [#545] * test: resolve broken tests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When you select two or more objects in canvas, and either move them or scale them, then hit 'Undo', the objects shift towards the lower right corner of the canvas.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Two objects drawn in canvas:
After selection and scaling:
After clicking 'Undo' (Note that the selection rectangle stays in the same position):
Desktop (please complete the following information):
Additional context
If you deselect the objects after step 5, and click 'Undo', the problem does not happen.
The text was updated successfully, but these errors were encountered: