Thread Tools Display Modes
08-18-17, 07:48 PM   #1
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

WoWInterface » Developer Discussions » Lua/XML Help » LibQTip-1.0 help


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off