Add wheel click for dragonflight info
This commit is contained in:
parent
d853d9f675
commit
afde0383f2
|
@ -90,6 +90,8 @@ local function OnClick(_, button)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
ExpansionLandingPageMinimapButton:Click()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local function tooltipsort(a, b)
|
local function tooltipsort(a, b)
|
||||||
|
@ -164,6 +166,7 @@ local function OnTooltipShow(tip)
|
||||||
tip:AddLine(L["No garrison found!"])
|
tip:AddLine(L["No garrison found!"])
|
||||||
end
|
end
|
||||||
tip:AddLine(child:colorize(L["SHIFT LEFTCLICK toggles Garrison"], "00ff00"))
|
tip:AddLine(child:colorize(L["SHIFT LEFTCLICK toggles Garrison"], "00ff00"))
|
||||||
|
tip:AddLine(child:colorize(L["WHEEL toggles Dragonflight Info"], "00ff00"))
|
||||||
tip:AddLine(child:colorize(L["Press SHIFT for other characters info"], "00ff00"))
|
tip:AddLine(child:colorize(L["Press SHIFT for other characters info"], "00ff00"))
|
||||||
end
|
end
|
||||||
child['ldb'] = { -- https://github.com/tekkub/libdatabroker-1-1/wiki/Data-Specifications
|
child['ldb'] = { -- https://github.com/tekkub/libdatabroker-1-1/wiki/Data-Specifications
|
||||||
|
|
1
core.lua
1
core.lua
|
@ -98,6 +98,7 @@ function events:PLAYER_ENTERING_WORLD()
|
||||||
if(db['hideStandard'] and ExpansionLandingPageMinimapButton) then
|
if(db['hideStandard'] and ExpansionLandingPageMinimapButton) then
|
||||||
ExpansionLandingPageMinimapButton:UnregisterAllEvents()
|
ExpansionLandingPageMinimapButton:UnregisterAllEvents()
|
||||||
ExpansionLandingPageMinimapButton:Hide()
|
ExpansionLandingPageMinimapButton:Hide()
|
||||||
|
ExpansionLandingPageMinimapButton:HookScript("OnShow", ExpansionLandingPageMinimapButton.Hide)
|
||||||
end
|
end
|
||||||
child:switchDisplay(db['garrisonHideCombat'])
|
child:switchDisplay(db['garrisonHideCombat'])
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,4 +15,5 @@ if L then
|
||||||
L["Hide Blizzards default garrison button"] = "Versteckt den Garnisonsknopf an der Minimap"
|
L["Hide Blizzards default garrison button"] = "Versteckt den Garnisonsknopf an der Minimap"
|
||||||
L["Display Text"] = "Anzeigetext"
|
L["Display Text"] = "Anzeigetext"
|
||||||
L["Display Text description"] = "Text, der neben dem Icon angezeigt wird."
|
L["Display Text description"] = "Text, der neben dem Icon angezeigt wird."
|
||||||
|
L["WHEEL toggles Dragonflight Info"] = "WHEEL wechselt Zusammenfassung der Dracheninseln"
|
||||||
end
|
end
|
|
@ -14,5 +14,6 @@ if L then
|
||||||
L["Hide Blizzard"] = true
|
L["Hide Blizzard"] = true
|
||||||
L["Hide Blizzards default garrison button"] = true
|
L["Hide Blizzards default garrison button"] = true
|
||||||
L["Display Text"] = true
|
L["Display Text"] = true
|
||||||
|
L["WHEEL toggles Dragonflight Info"] = true
|
||||||
L["Display Text description"] = "Default text displayed next to icon"
|
L["Display Text description"] = "Default text displayed next to icon"
|
||||||
end
|
end
|
Loading…
Reference in New Issue