thirdparty: add skin for bettercharacterstats

https://github.com/yutsuku/BetterCharacterStats
This commit is contained in:
shagu
2020-12-01 19:34:50 +01:00
parent 671bca94a0
commit 074b43d6d0
3 changed files with 15 additions and 0 deletions
+13
View File
@@ -842,6 +842,19 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
end
end)
HookAddonOrVariable("BetterCharacterStats", function()
if C.thirdparty.bcs.enable == "0" then return end
StripTextures(BetterCharacterAttributesFrame)
SkinDropDown(PlayerStatFrameLeftDropDown, nil, nil, nil, true)
PlayerStatFrameLeftDropDown.backdrop:SetPoint("TOPLEFT", 19, -2)
PlayerStatFrameLeftDropDown.backdrop:SetPoint("BOTTOMRIGHT", -19, 7)
SkinDropDown(PlayerStatFrameRightDropDown, nil, nil, nil, true)
PlayerStatFrameRightDropDown.backdrop:SetPoint("TOPLEFT", 19, -2)
PlayerStatFrameRightDropDown.backdrop:SetPoint("BOTTOMRIGHT", -19, 7)
end)
HookAddonOrVariable("MyRolePlay", function()
if C.thirdparty.myroleplay.enable == "0" then return end