Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slugalisk committed Nov 2, 2023
1 parent 6657377 commit a68ab04
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 7 deletions.
27 changes: 27 additions & 0 deletions assets/anim.december.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,33 @@
$can-animate-forever: true
);

@include sprite-animation(
$file-name: HocusPocus,
$frame-count: 53,
$sprite-width: 5300px,
$sprite-height: 32px,
$animation-duration: 2650ms,
$hold-start-frames: 12,
$hold-end-frames: 12,
$iteration-count: 1.5,
$end-on-frame: 27,
$can-animate-forever: true,
$extra-animation: true,
$extra-animation-duration: 3850ms,
$extra-animation-iteration-count: 1,
$extra-animation-timing-function: ease-out,
) {
0% {
filter: none;
}
73% {
filter: brightness(1) invert(0);
}
100% {
filter: brightness(0) invert(1);
}
};

@include sprite-animation(
$file-name: WAG,
$frame-count: 2,
Expand Down
13 changes: 6 additions & 7 deletions assets/anim.scss
Original file line number Diff line number Diff line change
Expand Up @@ -979,18 +979,17 @@ $spritesDir : '/assets/emotes/emoticons-animated/';

@include sprite-animation(
$file-name: HocusPocus,
$frame-count: 33,
$sprite-width: 1254px,
$frame-count: 53,
$sprite-width: 5300px,
$sprite-height: 32px,
$animation-duration: 1375ms,
$animation-direction: alternate,
$animation-duration: 2650ms,
$hold-start-frames: 12,
$hold-end-frames: 12,
$iteration-count: 3,
$end-on-last-frame: true,
$iteration-count: 1.5,
$end-on-frame: 27,
$can-animate-forever: true,
$extra-animation: true,
$extra-animation-duration: 4750ms,
$extra-animation-duration: 3850ms,
$extra-animation-iteration-count: 1,
$extra-animation-timing-function: ease-out,
) {
Expand Down

0 comments on commit a68ab04

Please sign in to comment.