Commit 8f49b88d authored by Azilroka's avatar Azilroka
Browse files

Collections / WorldMap

parent 35a9e296
......@@ -439,9 +439,9 @@ function AS:Blizzard_Collections(event, addon)
AS:SkinFrame(WardrobeTransmogFrame)
AS:CreateBackdrop(WardrobeTransmogFrame.MoneyMiddle)
AS:SkinButton(WardrobeTransmogFrame.Model.ClearAllPendingButton)
AS:SkinButton(WardrobeTransmogFrame.ModelScene.ClearAllPendingButton)
for _, Button in pairs(WardrobeTransmogFrame.Model.SlotButtons) do
for _, Button in pairs(WardrobeTransmogFrame.ModelScene.SlotButtons) do
AS:SkinBackdropFrame(Button)
AS:SkinTexture(Button.Icon)
Button.Icon:SetAllPoints()
......
......@@ -210,8 +210,8 @@ function AS:Blizzard_Quest()
QuestLogPopupDetailFrame.ShowMapButton:SetSize(QuestLogPopupDetailFrame.ShowMapButton:GetWidth() - 30, QuestLogPopupDetailFrame.ShowMapButton:GetHeight() - 5)
hooksecurefunc("QuestFrame_ShowQuestPortrait", function(QuestFrame, parentFrame, portrait, text, name, x, y)
QuestNPCModel:ClearAllPoints()
QuestNPCModel:SetPoint("TOPLEFT", QuestFrame, "TOPRIGHT", x + 10, y)
QuestModelScene:ClearAllPoints()
QuestModelScene:SetPoint("TOPLEFT", QuestFrame, "TOPRIGHT", x + 10, y)
end)
--Spell Rewards
......@@ -363,7 +363,7 @@ function AS:Blizzard_Quest()
end)
hooksecurefunc('QuestInfo_ShowRequiredMoney', function()
local requiredMoney = GetQuestLogRequiredMoney()
local requiredMoney = C_QuestLog.GetRequiredMoney()
if requiredMoney > 0 then
if requiredMoney > GetMoney() then
QuestInfoRequiredMoneyText:SetTextColor(0.6, 0.6, 0.6)
......@@ -417,7 +417,7 @@ function AS:Blizzard_WorldMap()
local QuestMapFrame = WorldMapFrame.QuestLog
local QuestScrollFrame = QuestMapFrame.QuestsFrame
AS:SkinBackdropFrame(WorldMapFrame)
--AS:SkinBackdropFrame(WorldMapFrame)
AS:CreateShadow(WorldMapFrame.Backdrop)
AS:SkinCloseButton(WorldMapFrame.BorderFrame.CloseButton)
AS:Kill(WorldMapFrame.BorderFrame.Tutorial)
......@@ -433,13 +433,6 @@ function AS:Blizzard_WorldMap()
AS:SkinArrowButton(WorldMapFrame.SidePanelToggle.CloseButton, 'left')
AS:SkinArrowButton(WorldMapFrame.SidePanelToggle.OpenButton, 'right')
AS:SkinDropDownBox(WorldMapFrame.overlayFrames[1])
AS:StripTextures(WorldMapFrame.overlayFrames[2])
WorldMapFrame.overlayFrames[2].Icon:SetTexture([[Interface\Minimap\Tracking\None]])
WorldMapFrame.overlayFrames[2]:SetHighlightTexture([[Interface\Minimap\Tracking\None]], "ADD")
WorldMapFrame.overlayFrames[2]:GetHighlightTexture():SetAllPoints()
QuestMapFrame.VerticalSeparator:Hide()
AS:SkinScrollBar(QuestScrollFrame.ScrollBar)
......
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