Originally Posted by Saiket
I think that StatusBars delay re-anchoring their textures until just before the next OnUpdate, so you'll have to use an OnUpdate handler to re-position the texture. Here's the function I use to create a reverse status bar in my UI:
http://code.google.com/p/wow-saiket/...ts.oUF.lua#313
|
hm, that definitely helps although I thought it was possible to avoid using OnUpdate scripts
Originally Posted by zork
Couldn't you just switch colors. (dark foreground, light background). That way if the bar depletes the bright color will become more and more visible.
|
I thought about that too, but the problem is that I want to have 3d portrait in the background and you can't really do that with portraits :/
i.e. I want this bar to overlay the background with the portrait