Commit 4cb0baaa authored by Merathilis's avatar Merathilis

Dont do something on my Quest Skins if Parchment Remover is enabled.

parent 87dc77ef
......@@ -16,6 +16,9 @@ local hooksecurefunc = hooksecurefunc
local function styleQuestFrame()
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.quest ~= true or E.private.muiSkins.blizzard.quest ~= true then return end
-- Stop here if parchment reomover is enabled.
if E.private.skins.parchmentRemover.enable then return end
------------------------
--- QuestDetailFrame ---
------------------------
......
......@@ -26,6 +26,9 @@ local r, g, b = unpack(E["media"].rgbvaluecolor)
local function styleQuestInfo()
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.quest ~= true or E.private.muiSkins.blizzard.quest ~= true then return; end
-- Stop here if parchment reomover is enabled.
if E.private.skins.parchmentRemover.enable then return end
-- [[ Shared ]]
local function restyleSpellButton(bu)
local name = bu:GetName()
......@@ -188,6 +191,10 @@ local function styleQuestInfo()
end
if numSpellRewards > 0 then
for spellHeader in rewardsFrame.spellHeaderPool:EnumerateActive() do
spellHeader:SetVertexColor(1, 1, 1)
end
for reward in rewardsFrame.followerRewardPool:EnumerateActive() do
local portrait = reward.PortraitFrame
if not reward.styled then
......
......@@ -18,6 +18,9 @@ local r, g, b = unpack(E["media"].rgbvaluecolor)
local function styleQuestMapFrame()
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.quest ~= true or E.private.muiSkins.blizzard.quest ~= true then return; end
-- Stop here if parchment reomover is enabled.
if E.private.skins.parchmentRemover.enable then return end
local QuestMapFrame = _G.QuestMapFrame
-- Quest scroll frame
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment