thirdparty: use active shagudps config table

This commit is contained in:
shagu
2023-08-05 12:02:08 +02:00
parent 225a84bc8d
commit 155da6504f
+2 -3
View File
@@ -232,7 +232,6 @@ pfUI:RegisterModule("thirdparty", "vanilla:tbc", function()
-- Vanilla: https://github.com/shagu/ShaguDPS
-- TBC: https://github.com/shagu/ShaguDPS
HookAddonOrVariable("ShaguDPS", function()
local hookRefresh = ShaguDPSWindow.Refresh
ShaguDPSWindow.Refresh = function(arg1, arg2)
hookRefresh(arg1, arg2)
@@ -257,11 +256,11 @@ pfUI:RegisterModule("thirdparty", "vanilla:tbc", function()
ShaguDPSWindow:SetWidth(pfUI.chat.right:GetWidth() / 2)
end,
function() -- show
ShaguDPS_Config.visible = 1
ShaguDPS.config.visible = 1
ShaguDPSWindow.Refresh(true)
end,
function() -- hide
ShaguDPS_Config.visible = 0
ShaguDPS.config.visible = 0
ShaguDPSWindow.Refresh(true)
end
}