javascript - Different positonining of text element of createjs in different browsers -


the slight difference in top position of text object rendered firefox other browsers in createjs while shapes object not show difference.

for instance,

this.text = new cjs.text("click start", '500 47px hel'); this.text.textalign = "center"; this.text.lineheight = 110; this.text.linewidth = 289; this.text.settransform(119.5, 5); 

it give different top position relative other graphics surrounding text in firefox or chrome. there way solve issue?

if text static (the button text never changes throughout game / app) decide make button image. createjs canvas image anyway, visually there should not difference.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -