WoWInterface - View Single Post - Help with if and 'and not'
View Single Post
10-29-16, 02:39 AM   #7
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,928
Something standing out to me is the check for GameTooltipTextLeft1:GetText(). In most if not all situations, I'd think this would always be returning something that would evaluate to true. I wouldn't expect the tooltip to actually clear the text when it hides, just when it's called to show something else. You might want to check GameTooltip:IsShown() instead.
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote