Skip to content

Commit

Permalink
3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunny67 committed Mar 10, 2021
1 parent 201b1ad commit e319280
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion WeakAuras/Init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WeakAuras.halfWidth = WeakAuras.normalWidth / 2
WeakAuras.doubleWidth = WeakAuras.normalWidth * 2

local versionStringFromToc = GetAddOnMetadata("WeakAuras", "Version")
local versionString = "3.1.8"
local versionString = "3.2.1"
local buildTime = "20201210233053"

WeakAuras.versionString = versionStringFromToc
Expand Down
4 changes: 4 additions & 0 deletions WeakAuras/RegionTypes/RegionPrototype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ function WeakAuras.regionPrototype.AddExpandFunction(data, region, cloneId, pare
Private.RunConditions(region, uid, true)
region.subRegionEvents:Notify("PreHide")
region:Hide();
region.states = nil
region.state = nil
if (cloneId) then
Private.ReleaseClone(region.id, cloneId, data.regionType);
parent:RemoveChild(id, cloneId)
Expand All @@ -758,6 +760,8 @@ function WeakAuras.regionPrototype.AddExpandFunction(data, region, cloneId, pare
Private.RunConditions(region, uid, true)
region.subRegionEvents:Notify("PreHide")
region:Hide();
region.states = nil
region.state = nil
if (cloneId) then
Private.ReleaseClone(region.id, cloneId, data.regionType);
end
Expand Down
15 changes: 7 additions & 8 deletions WeakAuras/WeakAuras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion WeakAuras/WeakAuras.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 30300
## Title: WeakAuras
## Author: The WeakAuras Team
## Version: 3.1.8
## Version: 3.2.1
## Notes: A powerful, comprehensive utility for displaying graphics and information based on buffs, debuffs, and other triggers.
## Notes-esES: Potente y completa aplicación que te permitirá mostrar por pantalla múltiples diseños, basados en beneficios, perjuicios y otros activadores.
## Notes-deDE: Ein leistungsfähiges, umfassendes Addon zur grafischen Darstellung von Informationen von Auren, Cooldowns, Timern und vielem mehr.
Expand Down
2 changes: 1 addition & 1 deletion WeakAurasOptions/WeakAurasOptions.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 30300
## Title: WeakAuras Options
## Author: The WeakAuras Team
## Version: 3.1.8
## Version: 3.2.1
## Notes: Options for WeakAuras
## Notes-esES: Opciones para WeakAuras
## Notes-deDE: Optionen für WeakAuras
Expand Down

0 comments on commit e319280

Please sign in to comment.