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
Post a Comment