Skip to content

Commit

Permalink
Watched Triggers: Also inform them if we autoHide
Browse files Browse the repository at this point in the history
Fixes: #3931
  • Loading branch information
InfusOnWoW committed Oct 28, 2022
1 parent d78b135 commit 511e6f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WeakAuras/WeakAuras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4179,6 +4179,12 @@ local function startStopTimers(id, cloneId, triggernum, state)
if (state.show ~= false and state.show ~= nil) then
state.show = false;
state.changed = true;

-- if the trigger has updated then check to see if it is flagged for WatchedTrigger and send to queue if it is
if Private.watched_trigger_events[id] and Private.watched_trigger_events[id][triggernum] then
Private.AddToWatchedTriggerDelay(id, triggernum)
end

Private.UpdatedTriggerState(id);
end
end,
Expand Down

0 comments on commit 511e6f2

Please sign in to comment.