actionbar: differentiate pet and default grid

This commit is contained in:
shagu
2019-04-10 22:01:55 +02:00
parent 8a60bd401c
commit 710aa73fb6
2 changed files with 39 additions and 19 deletions
+8 -2
View File
@@ -43,7 +43,10 @@ pfUI:RegisterModule("hoverbind", function ()
end)
pfUI.hoverbind:SetScript("OnShow", function()
if pfUI.bars then pfUI.bars:UpdateGrid(1) end
if pfUI.bars then
pfUI.bars:UpdateGrid(1)
pfUI.bars:UpdateGrid(1, "PET")
end
pfUI.gui:Hide()
pfUI.hoverbind.edit:Show()
@@ -52,7 +55,10 @@ pfUI:RegisterModule("hoverbind", function ()
end)
pfUI.hoverbind:SetScript("OnHide",function()
if pfUI.bars then pfUI.bars:UpdateGrid(0) end
if pfUI.bars then
pfUI.bars:UpdateGrid(0)
pfUI.bars:UpdateGrid(0, "PET")
end
pfUI.hoverbind.edit:Hide()
pfUI.gui:Show()
end)