Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Phaser.ScaleManager#getParentBounds not return the correct Parent size/bounds value


jdnichollsc
 Share

Recommended Posts

Hi guys,

 

What do you think about the following issue? https://github.com/photonstorm/phaser/issues/2098

 

See the canvas using scaleMode RESIZE (width:100%, height:100%) before to open a side menu

 

center%20of%20the%20canvas.png

 

 

But after to open the side menu you see:

 

Incorrect%20width%20of%20the%20canvas.pn

 

 

But... This works if you take into account the transforms of the parent element when you get the parent bounds...

 

Correct%20canvas%20size%20take%20account

 

 

Thanks in advance, Nicholls  :D 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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