Skip to content

Commit

Permalink
Chore: Lint warnings should fail on Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Apr 10, 2024
1 parent 7100bd3 commit a802d66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"scripts": {
"start": "xs serve",
"lint": "xs lint",
"lint": "xs lint --max-warnings=0",
"types": "xs types",
"build": "xs build",
"docs": "xs docs",
Expand Down Expand Up @@ -64,7 +64,7 @@
],
"devDependencies": {
"pixi.js": "^8.0.0",
"@pixi/extension-scripts": "^2.4.0",
"@pixi/extension-scripts": "^2.4.1",
"gifuct-js": "^2.1.2",
"pre-commit": "^1.2.2"
},
Expand Down
4 changes: 3 additions & 1 deletion src/AnimatedGIF.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ class AnimatedGIF extends Sprite
* you to control playback independent of the original animation.
* If you want to create a simple copy, and not control independently,
* then you can simply create a new Sprite, e.g. `const sprite = new Sprite(animation.texture)`.
*
*
* The clone will be flagged as `dirty` to immediatly trigger an update
*/
clone(): AnimatedGIF
Expand All @@ -523,7 +523,9 @@ class AnimatedGIF extends Sprite
onFrameChange: this.onFrameChange,
onLoop: this.onLoop,
});

clone.dirty = true;

return clone;
}
}
Expand Down

0 comments on commit a802d66

Please sign in to comment.