phaser3-nineslice icon indicating copy to clipboard operation
phaser3-nineslice copied to clipboard

Starting from phaser 3.17.0 - incorrect scaling

Open e-ivkov opened this issue 5 years ago • 3 comments

I downloaded the example code from this repository and tried it with different versions of phaser 3. And it seems that it's not working with the version 3.17.0 as you can see on this gif.

It seems like the left top corner texture is taking all the texture place. I looked through the changelog of 3.17.0 compared with 3.16.2 (where the plugin works). Tried undoing some of the changes, but haven't been able to find the cause.

e-ivkov avatar Jun 07 '19 11:06 e-ivkov

And there are no errors in the console apart from these when the corners match

Attempted to set NineSlice size less than minimum

e-ivkov avatar Jun 08 '19 12:06 e-ivkov

Still an issue on 3.18. I was pulling my (limited) hair out before I found this issue!

GaryStanton avatar Jun 23 '19 13:06 GaryStanton

I ran into the same issue and created a pr (https://github.com/jdotrjs/phaser3-nineslice/pull/21) for at least the initial state. Scaling after that is still an issue. Seems the author of this repo is not very active.

roed avatar Jun 30 '19 14:06 roed