mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 10:16:01 +08:00
[starling] Fixed formatting.
This commit is contained in:
parent
cc2d616dbc
commit
01f5293ef7
@ -102,7 +102,7 @@ package spine.starling {
|
||||
attachment.rendererObject = new Image(Texture.fromTexture(texture)); // Discard frame.
|
||||
|
||||
var root : Texture = texture.root;
|
||||
var rectRegion : Rectangle =texture.region;
|
||||
var rectRegion : Rectangle = texture.region;
|
||||
if (!rotated) {
|
||||
attachment.regionU = rectRegion.x / root.width;
|
||||
attachment.regionV = rectRegion.y / root.height;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user