Skip to content

Commit e651ea6

Browse files
committed
fix: QuestMapFrame Tabs to be skinned and not repositioned..
1 parent fbbe5e5 commit e651ea6

1 file changed

Lines changed: 9 additions & 15 deletions

File tree

Skin/Interface/AddOns/Blizzard_UIPanels_Game/Mainline/QuestMapFrame.lua

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -221,21 +221,15 @@ function private.FrameXML.QuestMapFrame()
221221
end
222222
QuestMapFrame.VerticalSeparator:Hide()
223223

224-
-- SET UP TABS
225-
local QuestsTab = QuestMapFrame.QuestsTab
226-
Skin.QuestMapFrameTabTemplate(QuestsTab)
227-
228-
local MapLegendTab = QuestMapFrame.MapLegendTab
229-
Skin.QuestMapFrameTabTemplate(MapLegendTab)
230-
231-
local EventsTab = QuestMapFrame.EventsTab
232-
Skin.QuestMapFrameTabTemplate(EventsTab)
233-
234-
Util.PositionRelative("TOPLEFT", QuestMapFrame, "TOPRIGHT", 1, -40, 1, "Down", {
235-
QuestsTab,
236-
MapLegendTab,
237-
EventsTab,
238-
})
224+
-- SET UP TABS — skin only, do NOT reposition. Blizzard's XML anchors
225+
-- QuestsTab → TOPLEFT of parent TOPRIGHT, EventsTab → below QuestsTab,
226+
-- MapLegendTab → below EventsTab. ValidateTabs() dynamically re-anchors
227+
-- MapLegendTab when EventsTab is hidden/shown. Aurora's old
228+
-- Util.PositionRelative call broke this chain and caused a circular
229+
-- anchor dependency (SetPoint error on MapLegendTab/EventsTab).
230+
Skin.QuestMapFrameTabTemplate(QuestMapFrame.QuestsTab)
231+
Skin.QuestMapFrameTabTemplate(QuestMapFrame.MapLegendTab)
232+
Skin.QuestMapFrameTabTemplate(QuestMapFrame.EventsTab)
239233

240234
local QuestsFrame = QuestMapFrame.QuestsFrame
241235
Skin.ScrollFrameTemplate(QuestsFrame.ScrollFrame)

0 commit comments

Comments
 (0)