mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-25 09:06:03 +00:00
61c2f996fa
Pressing Esc (or re-pressing) to cancel a queued Heroic Strike / Cleave / Maul left the swing bar stuck in its queued color. The color is set on the on-swing press and only cleared on nampower's ON_SWING_QUEUE_POPPED, which fires solely when a queued-behind on-swing resolves; nampower's cancel path touches no on-swing state and emits no event, so the flag never cleared. Reconcile the event flag against the client's IsCurrentAction, which it does clear on cancel: ReconcileQueued drops the flag once the client has confirmed the ability as current and then stops showing it (the true->false transition). It only acts once current has been seen, so a nampower-initiated cast the client never flags as current keeps its color until its own pop/resolve -- preserving the reason the event-driven path exists. RebuildQueueSlotCache now caches Maul slots and runs for druids, and no longer bails in event mode so the caches stay fresh for reconciliation.