View Single Post
11-30-14, 12:36 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Without seeing your entire, actual code -- Seriously, why do people never post it?! If you don't know what the problem is, why do you think you do know where it is? -- offhand I'd say a potential problem is that you're not stopping the loop after you handle a buff, so even if you find one buff you want to show, you keep going, and possibly find another buff you don't want to show, causing the frame to be hidden. If you only want to show one buff at a time, add a "break" statement in there; if you want to show multiple buffs at a time, you need more than one frame, or at least more than one texture, but based on the snippet you posted it looks like you only have one.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote