Find the missing menu item
Road-block opened this issue ยท 1 comments
Describe the problem
Databroker tooltip hint says "alt middle-click to clear all logs"
Code has no handler for alt-middle-click
What specific version of classic WoW did this happen on?
Mists Classic (but it will not affect just that flavor)
What steps will reproduce the problem?
Try follow tooltip help instructions to clear logs.
Attach a screenshot below to help describe your issue (Attach directly, do not link to other websites)
What version of the addon are you using? (Stating 'latest' is not useful)
v11.1.12
Do you have an error log of what happened? (You can use the BugSack addon to see errors)
Any additional information? (example: WoW language if not English)
local ldb = LibStub:GetLibrary("LibDataBroker-1.1"):NewDataObject("Transcriptor", {
type = "data source",
text = L["|cff696969Idle|r"],
icon = "Interface\\AddOns\\Transcriptor\\icon_off",
OnTooltipShow = function(tt)
if logging then
tt:AddLine(logName, 1, 1, 1, 1)
else
tt:AddLine(L["|cff696969Idle|r"], 1, 1, 1, 1)
end
tt:AddLine(" ")
tt:AddLine(L["|cffeda55fClick|r to start or stop transcribing. |cffeda55fRight-Click|r to configure events. |cffeda55fAlt-Middle Click|r to clear all stored transcripts."], 0.2, 1, 0.2, 1)
end,
OnClick = function(self, button)
if button == "LeftButton" then
if not logging then
Transcriptor:StartLog()
else
Transcriptor:StopLog()
end
elseif button == "RightButton" then
MenuUtil.CreateContextMenu(self, setupMenu)
end
end,
})Where is if button == "MiddleButton" and IsAltKeyDown() then Transcriptor:ClearAll() ๐
Also Transcriptor:Clear(log) appears to be an orphan (not called anywhere)