UnitFrames Buff/Debuff height question
A few years ago I implemented smart aura fluid position, but ran into an issue I wasn't able to fix back then, and now I'm trying to fix it again.
Fluid position resizes the buff/debuff height making the row value more of a "max row height" value. (See
function UF:UpdateBuffsPositionAndDebuffHeight() and
The issue I ran into is that when the unit has debuffs but no buffs (in the case of fluid position buffs on debuffs) if the aura bars are attached to buffs there is an invisible last buff row that cannot be height 0. If the last buff row is height 0 then anything attached to it will bug out.
buffs:Height(0) doesn't work. My question is, is there a way to make the buffs/debuffs height 0 while maintaining the anchors attached to it? Another idea would be to go through a list of all frames attached to the buffs/debuffs and temporarily change their anchor to whatever the buffs/debuffs is attached to. I know
.attachTo is the frame to which it's attached, but is there some sort of reverse relationship available where I could do like
.attachedToThis sort of thing and get a list of frames to temporarily move?
With a little bit of explanation I can probably fix this myself.
Here's a screenshot of what I mean, notice the gap between "debuffs/(1 row of buffs with no actual buffs)/debuffs aura bars" on the target.