from retail
This commit is contained in:
@@ -1343,12 +1343,21 @@ local function modify(parent, region, data)
|
||||
|
||||
local controlPoint = regionData.controlPoint
|
||||
controlPoint:ClearAnchorPoint()
|
||||
controlPoint:SetAnchorPoint(
|
||||
data.selfPoint,
|
||||
frame == "" and self.relativeTo or frame,
|
||||
data.anchorPoint,
|
||||
x + data.xOffset, y + data.yOffset
|
||||
)
|
||||
if frame == "" then
|
||||
controlPoint:SetAnchorPoint(
|
||||
data.selfPoint,
|
||||
self,
|
||||
data.selfPoint,
|
||||
x, y
|
||||
)
|
||||
else
|
||||
controlPoint:SetAnchorPoint(
|
||||
data.selfPoint,
|
||||
frame,
|
||||
data.anchorPoint,
|
||||
x + data.xOffset, y + data.yOffset
|
||||
)
|
||||
end
|
||||
if show and frame ~= WeakAuras.HiddenFrames then
|
||||
controlPoint:Show()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user