quest popup skin fixed
failcoder [10-26-16 - 02:56]
diff --git a/SVUI_!Core/system/api.lua b/SVUI_!Core/system/api.lua
index 426006f..56290ec 100644
--- a/SVUI_!Core/system/api.lua
+++ b/SVUI_!Core/system/api.lua
@@ -1542,6 +1542,11 @@ local CURRENT_OBJECT = CreateFrame("Frame");
AppendFrameMethods(CURRENT_OBJECT)
AppendTextureMethods(CURRENT_OBJECT:CreateTexture())
AppendFontStringMethods(CURRENT_OBJECT:CreateFontString())
+
+function SV:AppendAPI(obj)
+ AppendFrameMethods(obj)
+end
+
CURRENT_OBJECT = EnumerateFrames()
while CURRENT_OBJECT do
AppendFrameMethods(CURRENT_OBJECT)
diff --git a/SVUI_Skins/components/blizzard/quest.lua b/SVUI_Skins/components/blizzard/quest.lua
index aa9617a..5ef3503 100644
--- a/SVUI_Skins/components/blizzard/quest.lua
+++ b/SVUI_Skins/components/blizzard/quest.lua
@@ -31,7 +31,7 @@ local QuestFrameList = {
};
local function QuestScrollHelper(b, c, d, e)
- b:SetStyle("Frame", "Inset")
+ SV.API:Set("Frame", b, "Inset")
b.spellTex = b:CreateTexture(nil, 'ARTWORK')
b.spellTex:SetTexture([[Interface\QuestFrame\QuestBG]])
if e then
@@ -88,7 +88,7 @@ end
local _hook_DetailScrollShow = function(self)
if not self.Panel then
- self:SetStyle("Frame", "Default")
+ SV.API:Set("Frame", self)
QuestScrollHelper(self, 509, 630, false)
end
self.spellTex:SetHeight(self:GetHeight() + 217)