from retail

This commit is contained in:
NoM0Re
2025-01-13 19:15:17 +01:00
parent 43c9ccec1c
commit 74cc0c7ee8
3 changed files with 59 additions and 19 deletions
+10 -2
View File
@@ -2691,6 +2691,16 @@ local function pAdd(data, simpleChange)
end
end
-- If the aura has a onHide animation we need to cancel it to ensure it's truely hidden now
if Private.regions[id] then
Private.CancelAnimation(Private.regions[id].region, true, true, true, true, true, true)
end
if clones[id] then
for _, region in pairs(clones[id]) do
Private.CancelAnimation(region, true, true, true, true, true, true)
end
end
Private.ClearAuraEnvironment(id);
for parent in Private.TraverseParents(data) do
Private.ClearAuraEnvironment(parent.id);
@@ -5581,5 +5591,3 @@ do
return data.regionType == "group" or data.regionType == "dynamicgroup"
end
end