View Single Post
06-22-17, 07:06 PM   #2
Ekaterina
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 65
Hi,
To stop the tooltip closing, you will need to add to your dataObject_OnLeave(self) function.

Lua Code:
  1. local function dataObject_OnLeave(self)
  2.     if MouseIsOver(self.tooltip) then return end
  3.     if lqt:IsAcquired("FeedTillersTT") then
  4.         lqt:Release(self.tooltip)
  5.     end
  6.     self.tooltip = nil
  7. end

As for the problem with you hint text dissapearing, I think its because when you hide_exalted the block of code at line 137 runs and then redraws the tooltip before you've added the hints to the tooltip. I may be wrong. You might want to re-write your condition check.
  Reply With Quote