mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
skins: do not recreate existing questlog buttons
This commit is contained in:
@@ -154,7 +154,7 @@ pfUI:RegisterSkin("Quest Log", "vanilla:tbc", function ()
|
|||||||
|
|
||||||
-- add additional scroll entries
|
-- add additional scroll entries
|
||||||
for i = 7, QUESTS_DISPLAYED do
|
for i = 7, QUESTS_DISPLAYED do
|
||||||
local b = CreateFrame("Button", "QuestLogTitle"..i, QuestLogFrame, "QuestLogTitleButtonTemplate")
|
local b = _G["QuestLogTitle"..i] or CreateFrame("Button", "QuestLogTitle"..i, QuestLogFrame, "QuestLogTitleButtonTemplate")
|
||||||
b:SetID(i)
|
b:SetID(i)
|
||||||
b:SetPoint("TOPLEFT", _G["QuestLogTitle"..(i-1)], "BOTTOMLEFT", 0, 1)
|
b:SetPoint("TOPLEFT", _G["QuestLogTitle"..(i-1)], "BOTTOMLEFT", 0, 1)
|
||||||
SkinCollapseButton(_G["QuestLogTitle"..i])
|
SkinCollapseButton(_G["QuestLogTitle"..i])
|
||||||
|
|||||||
Reference in New Issue
Block a user