PhaserEditor2D / PhaserEditor

A friendly IDE to develop HTML5 games based on the Phaser framework.
https://phasereditor2d.com
Eclipse Public License 1.0
327 stars 45 forks source link

BitmapText item doesn't display in the right place when re-opening canvas file #124

Closed bfountaine closed 5 years ago

bfountaine commented 5 years ago

Version

Description

When you create a BitmapText object and add it to a canvas, set the position, size, anchor, tint etc, save canvas, close then re-open the canvas, the BitmapText doesn't display in the right place or show the tint. If you click on the text and then try and drag it, it will jump to the correct position and then drag from there, so it does hold it's properties, it just doesn't display correctly on first re-open of the file. As soon as you try and interact with the element it reverts to as it should be though. I think it may have something to do with setting the anchor on the element but am unable to consistently reproduce it sorry. Screen shots attached so you can see. As you can see, the properties on both are identical, but the rendering is off. correct view: (how it looks when I save and close the canvas file) bitmaptext correct incorrect view (how it looks when I re-open the canvas file) bitmaptext incorrect

Possible solution

PhaserEditor2D commented 5 years ago

Done, will be included in 1.4.5 very soon.