You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example above, you will see that the sprite and the DomElement are placed at the same position.
Yet, when we zoom out, the DomElement slightly moves to the bottom right. It shouldn't
Additional Information
I'm willing to help fix this and provide a PR but I would need a bit of guidance.
I traced back the issue probably to DOMElementCSSRenderer.js but I'm not sure where to look further.
The text was updated successfully, but these errors were encountered:
Version
Description
When using the camera zoom, DOMElements on the scene will not stay at their correct position (unless you set the DomElement origin to (0,0)
Example Test Code
https://phaser.io/sandbox/jBN4oJxC
In the example above, you will see that the sprite and the DomElement are placed at the same position.
Yet, when we zoom out, the DomElement slightly moves to the bottom right. It shouldn't
Additional Information
I'm willing to help fix this and provide a PR but I would need a bit of guidance.
I traced back the issue probably to
DOMElementCSSRenderer.js
but I'm not sure where to look further.The text was updated successfully, but these errors were encountered: