Jump to content

Safari : sprite dimensions and bounds not correctly initialized - Need to reload the page


bali33
 Share

Recommended Posts

Hi guys,

 

I have an issue with my game on Safari the first time I launch it - when I try to retrieve Sprite bounds using mySprite.getBounds() the width and the height properties are set to 1 - which of course is not the correct value and make my application behaves weirdly. If I reload the page, then the values returned by mySprite.getBounds() are correct. 

 

Any idea why ?

 

Thank you

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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