from retail
This commit is contained in:
@@ -525,10 +525,18 @@ function WeakAuras.regionPrototype.modify(parent, region, data)
|
||||
end
|
||||
|
||||
if not parent or parent.regionType ~= "dynamicgroup" then
|
||||
if not (
|
||||
data.anchorFrameType == "CUSTOM"
|
||||
or data.anchorFrameType == "UNITFRAME"
|
||||
) then
|
||||
if
|
||||
-- Don't anchor single Auras that with custom anchoring,
|
||||
-- these will be anchored in expand
|
||||
not (
|
||||
data.anchorFrameType == "CUSTOM"
|
||||
or data.anchorFrameType == "UNITFRAME"
|
||||
)
|
||||
-- Group Auras that will never be expanded, so those need
|
||||
-- to be always anchored here
|
||||
or data.regionType == "dynamicgroup"
|
||||
or data.regionType == "group"
|
||||
then
|
||||
WeakAuras.AnchorFrame(data, region, parent);
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user