diff --git a/broker.lua b/broker.lua index 8d8122a..bb311fa 100755 --- a/broker.lua +++ b/broker.lua @@ -90,6 +90,8 @@ local function OnClick(_, button) end end end + else + ExpansionLandingPageMinimapButton:Click() end end local function tooltipsort(a, b) @@ -164,6 +166,7 @@ local function OnTooltipShow(tip) tip:AddLine(L["No garrison found!"]) end 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")) end child['ldb'] = { -- https://github.com/tekkub/libdatabroker-1-1/wiki/Data-Specifications diff --git a/core.lua b/core.lua index 9497270..b3907ba 100755 --- a/core.lua +++ b/core.lua @@ -98,6 +98,7 @@ function events:PLAYER_ENTERING_WORLD() if(db['hideStandard'] and ExpansionLandingPageMinimapButton) then ExpansionLandingPageMinimapButton:UnregisterAllEvents() ExpansionLandingPageMinimapButton:Hide() + ExpansionLandingPageMinimapButton:HookScript("OnShow", ExpansionLandingPageMinimapButton.Hide) end child:switchDisplay(db['garrisonHideCombat']) end diff --git a/locale_deDE.lua b/locale_deDE.lua index ae9d11d..1e9f29e 100755 --- a/locale_deDE.lua +++ b/locale_deDE.lua @@ -15,4 +15,5 @@ if L then L["Hide Blizzards default garrison button"] = "Versteckt den Garnisonsknopf an der Minimap" L["Display Text"] = "Anzeigetext" L["Display Text description"] = "Text, der neben dem Icon angezeigt wird." + L["WHEEL toggles Dragonflight Info"] = "WHEEL wechselt Zusammenfassung der Dracheninseln" end \ No newline at end of file diff --git a/locale_enUS.lua b/locale_enUS.lua index 4522f52..1ffc6a5 100755 --- a/locale_enUS.lua +++ b/locale_enUS.lua @@ -14,5 +14,6 @@ if L then L["Hide Blizzard"] = true L["Hide Blizzards default garrison button"] = true L["Display Text"] = true + L["WHEEL toggles Dragonflight Info"] = true L["Display Text description"] = "Default text displayed next to icon" end \ No newline at end of file