beta
This commit is contained in:
@@ -1025,7 +1025,7 @@ local function modify(parent, region, data)
|
||||
self.needToPosition = false
|
||||
if #self.sortedChildren > 0 then
|
||||
if animate then
|
||||
Private.RegisterGroupForPositioning(data.id, self)
|
||||
Private.RegisterGroupForPositioning(data.uid, self)
|
||||
else
|
||||
self:DoPositionChildren()
|
||||
end
|
||||
@@ -1044,7 +1044,10 @@ local function modify(parent, region, data)
|
||||
type(pos[2]) == "number" and pos[2] or 0,
|
||||
type(pos[3]) ~= "boolean" and true or pos[3]
|
||||
|
||||
local controlPoint = regionData.controlPoint
|
||||
local controlPoint = type(regionData) == "table" and regionData.controlPoint
|
||||
if not controlPoint then
|
||||
break
|
||||
end
|
||||
controlPoint:ClearAnchorPoint()
|
||||
controlPoint:SetAnchorPoint(
|
||||
data.selfPoint,
|
||||
@@ -1134,7 +1137,7 @@ local function modify(parent, region, data)
|
||||
}
|
||||
end
|
||||
-- update animated expand & collapse for this child
|
||||
WeakAuras.Animate("controlPoint", data, "controlPoint", anim, regionData.controlPoint, true)
|
||||
WeakAuras.Animate("controlPoint", data.uid, "controlPoint", anim, regionData.controlPoint, true)
|
||||
end
|
||||
end
|
||||
regionData.xOffset = x
|
||||
|
||||
Reference in New Issue
Block a user