Merge branch '4.1' into 4.2-beta

This commit is contained in:
Mario Zechner 2022-12-27 12:10:10 +01:00
commit 84f5a31026
2 changed files with 3 additions and 2 deletions

View File

@ -106,6 +106,7 @@ static void toColor2(spColor *color, const char *value, int /*bool*/ hasAlpha) {
color->g = toColor(value, 1);
color->b = toColor(value, 2);
if (hasAlpha) color->a = toColor(value, 3);
else color->a =1.0f;
}
static void

View File

@ -1,6 +1,6 @@
{
"name": "@esotericsoftware/spine-phaser",
"version": "4.2.10",
"version": "4.1.24",
"description": "The official Spine Runtimes for the Phaser.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -35,4 +35,4 @@
"@esotericsoftware/spine-canvas": "^4.2.10",
"phaser": "^3.55.2"
}
}
}