mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts][canvas] Fixed superfluous paranthesis
This commit is contained in:
parent
e8df948d9d
commit
3bb27040c4
@ -234,7 +234,7 @@ var spine;
|
|||||||
if (attachment instanceof spine.RegionAttachment) {
|
if (attachment instanceof spine.RegionAttachment) {
|
||||||
var regionAttachment = attachment;
|
var regionAttachment = attachment;
|
||||||
region = regionAttachment.region;
|
region = regionAttachment.region;
|
||||||
image = (region).texture.getImage();
|
image = region.texture.getImage();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -60,7 +60,7 @@ module spine.canvas {
|
|||||||
if (attachment instanceof RegionAttachment) {
|
if (attachment instanceof RegionAttachment) {
|
||||||
let regionAttachment = <RegionAttachment>attachment;
|
let regionAttachment = <RegionAttachment>attachment;
|
||||||
region = <TextureAtlasRegion>regionAttachment.region;
|
region = <TextureAtlasRegion>regionAttachment.region;
|
||||||
image = (<CanvasTexture>(region).texture).getImage();
|
image = (<CanvasTexture>region.texture).getImage();
|
||||||
} else continue;
|
} else continue;
|
||||||
|
|
||||||
let att = <RegionAttachment>attachment;
|
let att = <RegionAttachment>attachment;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user