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
Text interactive wrong area when calling setFontSize() after setInteractive()
Example Test Code
varconfig={type: Phaser.AUTO,parent: 'phaser-example',width: 800,height: 600,scene: {create: create}};vargame=newPhaser.Game(config);functioncreate(){vartext=this.add.text(10,50,'hover me and watch the cursor change');text.setInteractive({cursor: 'pointer'});text.setFontSize(22);}
Additional Information
I think the reason is the interactive area did not update when changing font size.
The text was updated successfully, but these errors were encountered:
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
Text interactive wrong area when calling setFontSize() after setInteractive()
Example Test Code
Additional Information
I think the reason is the interactive area did not update when changing font size.
The text was updated successfully, but these errors were encountered: