Skip to content

Commit

Permalink
Merge pull request #105 from sanderfrenken/allow-skip-frame
Browse files Browse the repository at this point in the history
Add ability to skip the first frame in a preview for a custom animation
  • Loading branch information
sanderfrenken committed Mar 9, 2024
2 parents 5a6dbf1 + 6b3e0b5 commit 1792297
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sources/chargen.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ $(document).ready(function() {
animRowNum = selectedCustomAnimation.frames.length;
animRowStart = 0;
for (var i = 0; i < selectedCustomAnimation.frames[0].length; ++i) {
if (selectedCustomAnimation.skipFirstFrameInPreview && i === 0 ) {
continue;
}
animationItems.push(i);
}
return
Expand Down

0 comments on commit 1792297

Please sign in to comment.