Skip to content

Commit d67efd6

Browse files
committed
autoformat
1 parent 18ddef3 commit d67efd6

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

Core/GUI/DebugMenuFrame.lua

+18-19
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ function DebugMenuFrame:OnLoad()
7272
self.header:SetText("HEADER TEXT TODO REMOVE")
7373
self.frame = frame
7474

75-
76-
local tabButton = CreateFrame("Button", "$parentTabButton1", frame, "CharacterFrameTabTemplate")
75+
local tabButton = CreateFrame("Button", "$parentTabButton1", frame, "CharacterFrameTabTemplate")
7776
tabButton:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 11, 2)
7877
tabButton:SetText("Map Info")
7978
tabButton:SetScript("OnClick", function(self, button)
@@ -83,7 +82,7 @@ function DebugMenuFrame:OnLoad()
8382
PlaySound(SOUNDKIT.IG_CHARACTER_INFO_TAB)
8483
end)
8584

86-
local tabButton = CreateFrame("Button", "$parentTabButton2", frame, "CharacterFrameTabTemplate")
85+
local tabButton = CreateFrame("Button", "$parentTabButton2", frame, "CharacterFrameTabTemplate")
8786
-- tabButton:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 11, 2) -- TBD anchor to previous tab, with offset 1,0 ?
8887
tabButton:SetText("Spell Tracking")
8988
tabButton:SetScript("OnClick", function(self, button)
@@ -93,7 +92,7 @@ function DebugMenuFrame:OnLoad()
9392
PlaySound(SOUNDKIT.IG_CHARACTER_INFO_TAB)
9493
end)
9594

96-
local tabButton = CreateFrame("Button", "$parentTabButton3", frame, "CharacterFrameTabTemplate")
95+
local tabButton = CreateFrame("Button", "$parentTabButton3", frame, "CharacterFrameTabTemplate")
9796
-- tabButton:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 11, 2) -- TBD anchor to previous tab, with offset 1,0 ?
9897
tabButton:SetText("Defeat Detection")
9998
tabButton:SetScript("OnClick", function(self, button)
@@ -103,7 +102,7 @@ function DebugMenuFrame:OnLoad()
103102
PlaySound(SOUNDKIT.IG_CHARACTER_INFO_TAB)
104103
end)
105104

106-
local tabButton = CreateFrame("Button", "$parentTabButton4", frame, "CharacterFrameTabTemplate")
105+
local tabButton = CreateFrame("Button", "$parentTabButton4", frame, "CharacterFrameTabTemplate")
107106
-- tabButton:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 11, 2) -- TBD anchor to previous tab, with offset 1,0 ?
108107
tabButton:SetText("Attempts")
109108
tabButton:SetScript("OnClick", function(self, button)
@@ -113,8 +112,8 @@ function DebugMenuFrame:OnLoad()
113112
PlaySound(SOUNDKIT.IG_CHARACTER_INFO_TAB)
114113
end)
115114

116-
PanelTemplates_SetNumTabs(frame, 4);
117-
PanelTemplates_SetTab(frame, 2);
115+
PanelTemplates_SetNumTabs(frame, 4)
116+
PanelTemplates_SetTab(frame, 2)
118117

119118
-- PanelTemplates_DisableTab(2)
120119
-- PanelTemplates_DisableTab(3)
@@ -135,18 +134,18 @@ function DebugMenuFrame:OnLoad()
135134
-- end
136135

137136
-- local tabButton = CreateFrame("Button", "$parentTabButton", frame, "TabSystemButtonTemplate,TabSystemTemplate")
138-
-- self.tabButton = tabButton
139-
-- tabButton:SetSize(10, 32)
140-
-- tabButton:SetText("I hate this")
141-
-- tabButton:Init("TabID", "TabText")
142-
-- <Button name="TabSystemButtonTemplate" inherits="TabSystemButtonArtTemplate" mixin="TabSystemButtonMixin" motionScriptsWhileDisabled="true" virtual="true">
143-
-- <Size x="10" y="32"/>
144-
-- <Scripts>
145-
-- <OnEnter method="OnEnter"/>
146-
-- <OnLeave method="OnLeave"/>
147-
-- <OnClick method="OnClick"/>
148-
-- </Scripts>
149-
-- </Button>
137+
-- self.tabButton = tabButton
138+
-- tabButton:SetSize(10, 32)
139+
-- tabButton:SetText("I hate this")
140+
-- tabButton:Init("TabID", "TabText")
141+
-- <Button name="TabSystemButtonTemplate" inherits="TabSystemButtonArtTemplate" mixin="TabSystemButtonMixin" motionScriptsWhileDisabled="true" virtual="true">
142+
-- <Size x="10" y="32"/>
143+
-- <Scripts>
144+
-- <OnEnter method="OnEnter"/>
145+
-- <OnLeave method="OnLeave"/>
146+
-- <OnClick method="OnClick"/>
147+
-- </Scripts>
148+
-- </Button>
150149
end
151150
function DebugMenuFrame.OnEvent(event, ...)
152151
-- Rarity:Debug("DebugMenuFrame.OnEvent: " .. tostring(event))

0 commit comments

Comments
 (0)