mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
A reverse sweep covers the icon as time passes, so at the end the icon is fully dark. The sweep's end switched the frame to its flash state, where UpdateColors cleared the swipe for both directions, and the flash's first key has alpha 0. For the frames between the client-side end and the aura's removal from the server (pfUI buffs with reverse timers), the bare icon showed bright before the button hid. 3.3.5 and 4.3.4 never show this: they pin a reverse cooldown at duration - 1 and never flash or hide it, so the icon stays covered until the addon hides the button. The port took retail's timer semantics for reverse (OnCooldownDone, flash times, hide after the flash) and dropped the swipe with the hold. Keep the retail state machine and 4.3.4's look: in the flash state a reverse frame draws the full fan (what 4.3.4's flash branch draws for reverse), set every tick so a timer already over at its first update does not draw ResetVerts' zeroed fan, and UpdateColors keeps the swipe colour for a reverse frame. The edge still goes with the flash, as in 4.3.4. The docs/API.md line for SetReverse (direction corrected: the sweep starts empty and becomes full) went in with 85b1365.