From fe2cac716857def0f9b8f9880fe5de60e2199f0e Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Thu, 3 Sep 2026 16:00:10 -0500 Subject: [PATCH] Correct the payload form in the animator's header The crop args became left:right:top:bottom when frames gained columns; the comment still described the single-column 0:frameW form. --- TwitchEmotesAnimator.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TwitchEmotesAnimator.lua b/TwitchEmotesAnimator.lua index a895ab2..0631419 100644 --- a/TwitchEmotesAnimator.lua +++ b/TwitchEmotesAnimator.lua @@ -1,8 +1,8 @@ -- Animated emotes are sprite sheets; TwitchEmotes_animation_metadata -- (Emotes.lua) maps each sheet's texture path to its frame layout. ClassicAPI's -- inline-texture renderer supports the extended --- |Tpath:w:h:0:0:imgW:imgH:0:frameW:top:bottom|t form (sprite-sheet crop), so we --- animate by re-SetText-ing each visible FontString ~30fps with the current +-- |Tpath:w:h:0:0:imgW:imgH:left:right:top:bottom|t form (sprite-sheet crop), so +-- we animate by re-SetText-ing each visible FontString ~30fps with the current -- frame's crop. On 1.12 a ScrollingMessageFrame's visible lines are real -- CSimpleFontStrings exposed as the ChatFrame's FontString regions, so they can -- be rewritten in place — the same way the retail TwitchEmotesAnimator does it.