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

rotate not work when call rect.front #34

Open
yhuaqiang opened this issue Jun 17, 2017 · 2 comments
Open

rotate not work when call rect.front #34

yhuaqiang opened this issue Jun 17, 2017 · 2 comments

Comments

@yhuaqiang
Copy link

after drawn several rects, set the mousedown event of the rect, use rect.front() to set the rect to be front.
but, after set front, the rotate circle doesn't work.

@yhuaqiang
Copy link
Author

when remove rect.front, the rotate work again

@Fuzzyma
Copy link
Member

Fuzzyma commented Jul 2, 2017

When you call front() you move the rect in front of the rotation button. So I think thats the reason why you cant click it anymore. Deselect and select again when you do that and that should fix your problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants