Skip to content

Commit

Permalink
map: check for existing mousefocus on tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Nov 23, 2017
1 parent 3370654 commit 4d8005a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pfMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pfMap.mpins = {}
pfMap.tooltip = CreateFrame("Frame" , "pfMapTooltip", GameTooltip)
pfMap.tooltip:SetScript("OnShow", function()
-- abort on pfQuest nodes
if GetMouseFocus().title then return end
if GetMouseFocus() and GetMouseFocus().title then return end

local name = getglobal("GameTooltipTextLeft1") and getglobal("GameTooltipTextLeft1"):GetText()

Expand Down

0 comments on commit 4d8005a

Please sign in to comment.