Skip to content
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

When default rotation is 0,can't exec update #8013

Closed
kkju opened this issue Jun 11, 2024 · 2 comments · Fixed by #8129
Closed

When default rotation is 0,can't exec update #8013

kkju opened this issue Jun 11, 2024 · 2 comments · Fixed by #8129
Assignees
Labels
bug Something isn't working

Comments

@kkju
Copy link

kkju commented Jun 11, 2024

if (state.rotation) {

when the state.rotation === 0,shape.rotate can not exec。
for example:
1、draw a rectangle,rotate it;
2、undo the action;
3、the rectangle can't undo to default。

@bsekachev
Copy link
Member

Hello, thanks for the report.
Try to do undo twice as a temporary workaround

@KrishavRajSingh
Copy link
Contributor

Hello, thanks for the report. Try to do undo twice as a temporary workaround

I would like to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants