Skip to content

Commit e1f421f

Browse files
committed
Add some debug logging for broker plugin
1 parent e18b155 commit e1f421f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Broker.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,15 @@ function obj:OnClick(button)
113113
end
114114

115115
function obj:OnEnter()
116+
KT:DebugMsg("Broker OnEnter")
116117
GameTooltip:SetOwner(self --[[@as Frame]], "ANCHOR_NONE")
117118
GameTooltip:SetPoint("TOPLEFT", self, "BOTTOMLEFT")
118119
KTB:UpdateTooltip()
119120
tooltipVisible = true
120121
end
121122

122123
function obj:OnLeave()
124+
KT:DebugMsg("Broker OnLeave")
123125
tooltipVisible = false
124126
GameTooltip:Hide()
125127
end
@@ -130,6 +132,7 @@ function KTB:UpdateText()
130132
end
131133

132134
function KTB:UpdateTooltip()
135+
KT:DebugMsg("Broker UpdateTooltip")
133136
GameTooltip:ClearLines()
134137
obj.OnTooltipShow(GameTooltip)
135138
GameTooltip:Show()

0 commit comments

Comments
 (0)