Skip to content

Commit

Permalink
force gpu rendering for animated emotes
Browse files Browse the repository at this point in the history
  • Loading branch information
slugalisk committed Dec 4, 2024
1 parent 334ccf1 commit 7d48da9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/anim.scss
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ $spritesDir : '/assets/emotes/emoticons-animated/';
height: $sprite-height;
margin-top: -$sprite-height;
background-position-y: center;
transform: translateZ(1px);

@if $extra-animation {
animation: #{$file-name}-anim $animation-duration steps($steps) $iteration-count none $animation-direction, #{$file-name}-extra-anim $extra-animation-duration $extra-animation-timing-function $extra-animation-delay $extra-animation-iteration-count $extra-animation-direction $extra-animation-fill-mode $extra-animation-play-state;
Expand Down

0 comments on commit 7d48da9

Please sign in to comment.