Jump to content

Text bounds bug with high resolution


Recommended Posts

Hi, I think I have found a bug with Text bounds on high res screens.

Please see this code pen, it's just a modified example from the Phaser website to include devicePixelRatio resolution.

This means that the example will work fine on screens with window.devicePixelRatio == 1, but will incorrectly center and right justify the text on higher pixel densities.


Please confirm this is a bug and I will add to github issues.


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...