Explorar o código

[ts][player] Interface for per animation viewport config.

badlogic %!s(int64=6) %!d(string=hai) anos
pai
achega
8610fd5446

+ 10 - 0
spine-ts/build/spine-widget.d.ts

@@ -1712,6 +1712,16 @@ declare module spine {
             padRight: string;
             padRight: string;
             padTop: string;
             padTop: string;
             padBottom: string;
             padBottom: string;
+            animations: Map<{
+                x: number;
+                y: number;
+                width: number;
+                height: number;
+                padLeft: string;
+                padRight: string;
+                padTop: string;
+                padBottom: string;
+            }>;
         };
         };
         alpha: boolean;
         alpha: boolean;
         backgroundColor: string;
         backgroundColor: string;

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
spine-ts/build/spine-widget.js.map


+ 10 - 0
spine-ts/widget/src/Player.ts

@@ -79,6 +79,16 @@
 			padRight: string
 			padRight: string
 			padTop: string
 			padTop: string
 			padBottom: string
 			padBottom: string
+			animations: Map<{
+				x: number,
+				y: number,
+				width: number,
+				height: number,
+				padLeft: string,
+				padRight: string,
+				padTop: string,
+				padBottom: string,
+			}>
 		}
 		}
 
 
 		/* Optional: whether the canvas should be transparent. Default: false. */
 		/* Optional: whether the canvas should be transparent. Default: false. */

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio