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 a68ab04 commit 42178ce
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
30 changes: 30 additions & 0 deletions assets/anim.december.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,33 @@
.generify-emote-TIMID:not(.chat-user + .generify-emote-TIMID) .chat-emote-TIMID {
background-position-x: 0px !important;
}

@include sprite-animation(
$file-name: PAIN,
$frame-count: 2,
$sprite-width: 64px,
$sprite-height: 32px,
$animation-duration: 3s,
$iteration-count: 1,
$can-animate-forever: true,
$extra-animation: true,
$extra-animation-duration: 1s,
$extra-animation-iteration-count: 3
) {
0% {transform: translate(0px,0px);}

13% {transform: translate(0px,0px);}
20% {transform: translate(0px,-2px);}

33% {transform: translate(0px,0px);}

46% {transform: translate(0px,0px);}
53% {transform: translate(0px,-2px);}

67% {transform: translate(0px,0px);}

80% {transform: translate(0px,0px);}
87% {transform: translate(0px,-2px);}

100% {transform: translate(0px,0px);}
}
30 changes: 30 additions & 0 deletions assets/anim.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1250,3 +1250,33 @@ $spritesDir : '/assets/emotes/emoticons-animated/';
}
}
}

@include sprite-animation(
$file-name: PAIN,
$frame-count: 2,
$sprite-width: 64px,
$sprite-height: 32px,
$animation-duration: 3s,
$iteration-count: 1,
$can-animate-forever: true,
$extra-animation: true,
$extra-animation-duration: 1s,
$extra-animation-iteration-count: 3
) {
0% {transform: translate(0px,0px);}

13% {transform: translate(0px,0px);}
20% {transform: translate(0px,-2px);}

33% {transform: translate(0px,0px);}

46% {transform: translate(0px,0px);}
53% {transform: translate(0px,-2px);}

67% {transform: translate(0px,0px);}

80% {transform: translate(0px,0px);}
87% {transform: translate(0px,-2px);}

100% {transform: translate(0px,0px);}
}

0 comments on commit 42178ce

Please sign in to comment.