This commit is contained in:
Bunny67
2021-03-10 08:12:41 +03:00
parent 201b1adfcc
commit e31928069c
5 changed files with 14 additions and 11 deletions
+7 -8
View File
@@ -1072,14 +1072,13 @@ function WeakAuras.IsPaused()
end
function Private.Pause()
-- Forcibly hide all displays, and clear all trigger information (it will be restored on .Resume() due to forced events)
for id, region in pairs(regions) do
region.region:Collapse(); -- ticket 366
end
for id, cloneList in pairs(clones) do
for cloneId, clone in pairs(cloneList) do
clone:Collapse();
for id, states in pairs(triggerState) do
local changed
for triggernum in ipairs(states) do
changed = Private.SetAllStatesHidden(id, triggernum) or changed
end
if changed then
Private.UpdatedTriggerState(id)
end
end