Clean up WeakAuras table and remove members that no one should touch
This commit is contained in:
@@ -142,8 +142,8 @@ local function modify(parent, region, data)
|
||||
region:SetHeight(height)
|
||||
if data.parent then
|
||||
Private.EnsureRegion(data.parent)
|
||||
if WeakAuras.regions[data.parent].region.PositionChildren then
|
||||
WeakAuras.regions[data.parent].region:PositionChildren()
|
||||
if Private.regions[data.parent].region.PositionChildren then
|
||||
Private.regions[data.parent].region:PositionChildren()
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -165,8 +165,8 @@ local function modify(parent, region, data)
|
||||
region.height = height;
|
||||
region:SetWidth(region.width);
|
||||
region:SetHeight(region.height);
|
||||
if(data.parent and WeakAuras.regions[data.parent].region.PositionChildren) then
|
||||
WeakAuras.regions[data.parent].region:PositionChildren();
|
||||
if(data.parent and Private.regions[data.parent].region.PositionChildren) then
|
||||
Private.regions[data.parent].region:PositionChildren();
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user