Skip to content

Commit 965123f

Browse files
chore: make TextureSheetAnimation loop optional (#167)
* chore: make TextureSheetAnimation loop optional * chore: update version --------- Co-authored-by: yiiqii <yfj5tzl2005@sina.com>
1 parent 804d2ac commit 965123f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@galacean/effects-specification",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"description": "Galacean Effects JSON Specification",
55
"module": "./es/index.js",
66
"main": "./es/index.js",

src/type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export interface TextureSheetAnimation {
219219
/**
220220
* 图层帧动画是否循环播放
221221
*/
222-
loop: boolean,
222+
loop?: boolean,
223223
}
224224

225225
/**

0 commit comments

Comments
 (0)