phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
http://phaser.io
MIT License
1.34k stars 491 forks source link

text cut on Firefox when changing the anchor point #612

Closed enriqueto closed 4 years ago

enriqueto commented 5 years ago

Phaser CE v2.11.1 Firefox v64.0 on mac

when doing this:

this.ballsCounter.anchor.y = .5; this.ballsCounter.setShadow(2, 2, "rgba(0,0,0,0.5)", 3); this.ballsCounter.stroke = "#000000"; this.ballsCounter.strokeThickness = 2;

the text is cut on Firefox (see picture). In Chrome it's rendered correctly. screenshot 2018-12-28 at 12 52 32