View Single Post
08-18-17, 07:48 PM   #6
TimothyLuke
A Fallenroot Satyr
 
TimothyLuke's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 24
Originally Posted by Ekaterina View Post
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.
Forgive my ignorance but does the tooltip itself have an onleave event? I an able to interact with the tooltip but when the mouse leaves it it stays there until i mouse back onto the LDB point and leave it.
__________________
BattleNet: TimothyLuke#1860
WowLazyMacros/Curse/GitHub/WowInterface: TimothyLuke

Most Commonly Played Characters:
Huldrych@Dath'Remar
Draik@Nagrand
  Reply With Quote