turtle-wow: only change position if skin is enabled

This commit is contained in:
shagu
2024-10-31 08:25:32 +01:00
parent 3958fb42a5
commit 69f28b0515
+1 -1
View File
@@ -133,7 +133,7 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
-- rearrange twow's profession window additions
HookAddonOrVariable("Blizzard_TradeSkillUI", function()
if TradeSkillSkillCheckButton then
if TradeSkillSkillCheckButton and pfUI_config["disabled"]["skin_Profession"] ~= "1" then
TradeSkillSkillCheckButton:SetPoint("TOPLEFT", 500, -2)
TradeSkillMatsCheckButton:SetPoint("TOPLEFT", 400, -2)
TradeSkillSearchBox:SetPoint("TOPLEFT", 20, -520)