Originally Posted by VincentSDSH
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.