Closed mrbuds closed 1 year ago
Private.AnchorFrame is run twice
GetAnchorFrame
return nil, but postponeAnchor
rerun Private.AnchorFrame
1s laterGetAnchorFrame
correctly return table for SUFUnitplayer
Then region:SetAnchor
is run with correct values
I tried increase the 1s delay timer to no effect
I don't know what's missing to fix the dynamic group anchor
I've done a bit of debugging, though I have to pause it now.
The problem is not in SetAnchor but somewhere in the dynamic group. Adding this hack to the end of UpdatePosition in RegionPrototypes.lua makes the dynamic group work correctly.
if self.PositionChildren then
print("PositionChildren")
self:PositionChildren()
end
Is there an existing issue for this?
Description
Import bellow export string, it's a dynamic group anchored to SUFUnitplayer (player frame with shadowed unit frame)
On login/reload it show in middle of screen
Workaround
Fixes itself when an aura show / hide Opening/closing wa fix it Made an empty text aura TSU with
WeakAuras Version
5.5.1
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
EU
Tested with only WeakAuras
Lua Error
Reproduction Steps
.
Last Good Version
No response
Screenshots
No response
Export String