From 7d48da91f8084d18ea406c3cc0c8ea2fb146c410 Mon Sep 17 00:00:00 2001 From: Slugalisk Date: Wed, 4 Dec 2024 00:35:04 -0800 Subject: [PATCH] force gpu rendering for animated emotes --- assets/anim.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/anim.scss b/assets/anim.scss index ebf2223b..afb463c6 100644 --- a/assets/anim.scss +++ b/assets/anim.scss @@ -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;