[ts][canvas] Fixed superfluous paranthesis

This commit is contained in:
badlogic 2017-03-02 11:08:03 +01:00
parent e8df948d9d
commit 3bb27040c4
4 changed files with 6415 additions and 6415 deletions

View File

@ -234,7 +234,7 @@ var spine;
if (attachment instanceof spine.RegionAttachment) {
var regionAttachment = attachment;
region = regionAttachment.region;
image = (region).texture.getImage();
image = region.texture.getImage();
}
else
continue;

File diff suppressed because one or more lines are too long

View File

@ -60,7 +60,7 @@ module spine.canvas {
if (attachment instanceof RegionAttachment) {
let regionAttachment = <RegionAttachment>attachment;
region = <TextureAtlasRegion>regionAttachment.region;
image = (<CanvasTexture>(region).texture).getImage();
image = (<CanvasTexture>region.texture).getImage();
} else continue;
let att = <RegionAttachment>attachment;