Browse Source

[phaser] Fix PMA parsing.

Mario Zechner 2 years ago
parent
commit
4c3e3178bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-ts/spine-phaser/src/SpinePlugin.ts

+ 1 - 1
spine-ts/spine-phaser/src/SpinePlugin.ts

@@ -340,7 +340,7 @@ class SpineAtlasFile extends Phaser.Loader.MultiFile {
 				} else {
 					file.data = {
 						data: file.data,
-						premultipliedAlpha: this.premultipliedAlpha || file.data.indexOf("pma: true") >= 0
+						premultipliedAlpha: this.premultipliedAlpha || file.data.indexOf("pma: true") >= 0 || file.data.indexOf("pma:true") >= 0
 					};
 					file.addToCache();
 				}