hoverbind: show grid when entering hoverbind mode

This commit is contained in:
shagu
2019-04-06 10:57:04 +02:00
parent c19b0f0e95
commit a9297c6af5
2 changed files with 15 additions and 1 deletions
+2
View File
@@ -43,6 +43,7 @@ pfUI:RegisterModule("hoverbind", function ()
end)
pfUI.hoverbind:SetScript("OnShow", function()
if pfUI.bars then pfUI.bars:UpdateGrid(1) end
pfUI.gui:Hide()
pfUI.hoverbind.edit:Show()
@@ -51,6 +52,7 @@ pfUI:RegisterModule("hoverbind", function ()
end)
pfUI.hoverbind:SetScript("OnHide",function()
if pfUI.bars then pfUI.bars:UpdateGrid(0) end
pfUI.hoverbind.edit:Hide()
pfUI.gui:Show()
end)