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

rotateLayer does not work on new added layer #1269

Closed
Falke-Design opened this issue Dec 15, 2022 · 0 comments · Fixed by #1270
Closed

rotateLayer does not work on new added layer #1269

Falke-Design opened this issue Dec 15, 2022 · 0 comments · Fixed by #1270
Labels
bug fixed Issues that are fixed in develop or in a PR

Comments

@Falke-Design
Copy link
Collaborator

Falke-Design commented Dec 15, 2022

I used rect.pm.rotateLayer(50) instead of _setAngle because I dont wanna use private method. For the future you may change it. By also _setAngle doesn't work. rect.pm.rotateLayer it works but its throw an error on the chrome dev tools Uncaught TypeError: Cannot read properties of undefined (reading 'fire') Here the screenshot in the attachment and fiddle example link => https://jsfiddle.net/erdogan97/hz3sc8gr/17/
Screen Shot 2022-12-14 at 01 42 41

Originally posted by @erdoganabaci in #1245 (comment)

@Falke-Design Falke-Design added bug fixed Issues that are fixed in develop or in a PR labels Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed Issues that are fixed in develop or in a PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant