Quantcast
WoWInterface - View Single Post - Question about GameTooltip
View Single Post
03-26-18, 06:54 AM   #17
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Originally Posted by VincentSDSH View Post
One could automagically detect-and-correct [b]but I think this is ill-advised[/i] and prefer to call the routine if/when detected (I have it launched from a slash-command personally).
Why?

I don't think there would be much overhead in running that function on gametooltip show to automatically correct the error and effectively never see it. Though that would be a bit hack-ish, but this solution already is.
Then again, we don't have access to your code to say whether or not there would be a more efficient solution.

I guess if it works for you that's all that counts, though. If you're the only one using that addon, anyway.
  Reply With Quote