We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Your current navigator: Chrome v65 The package you used: @pencil.js/container
The function getAbsolutePosition returns wrong position when the container is nested inside another with a rotation.
getAbsolutePosition
const parent = new Container([0, 0], { rotation: 0.5, }); const child = new Container([10, 10]); parent.add(child); child.getAbsolutePosition(); // => fail
The text was updated successfully, but these errors were encountered:
685c627
GMartigny
No branches or pull requests
Infos
Your current navigator: Chrome v65
The package you used: @pencil.js/container
Description
The function
getAbsolutePosition
returns wrong position when the container is nested inside another with a rotation.Reproduce by
The text was updated successfully, but these errors were encountered: