XP bar doesn't scale properly
Hvalfisk opened this issue · 4 comments
The same issue also affects the rep bar, but does not appear to affect the rested xp bar.
I have this issue too and had to insert a workaround.
The top two images are my playerframe with an unchanged copy of LunaUnitFrames. You can see that the bar is a lot less full than the 91.4% it should be.
My fix was to enter the following line in xp.lua in XP:UpdateXP() before the minmax values are set for the bar:
frame.xpBar.xp:SetWidth(frame.xpBar:GetWidth())
This gives me the bottom two images where the bar appears to scale correctly.
It seems a hacky workaround and I'm not sure what the base issue is, so not submitting as PR.