Skip to content

Commit 033e950

Browse files
committed
Wrath should no longer break horrendously on login
1 parent 99b8d34 commit 033e950

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ jobs:
1717
- name: Replace toc-versions
1818
uses: Numynum/ToCVersions@master
1919

20-
- name: Create Retail Package
20+
- name: Create Package
2121
uses: BigWigsMods/packager@master
22+
with:
23+
args: -S
2224
env:
2325
CF_API_KEY: ${{ secrets.CF_API_KEY }}
2426
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

MacroToolkit/MacroToolkit.toc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
## Interface: @toc-version-retail@
2+
## Interface-Retail: @toc-version-retail@
3+
## Interface-Classic: @toc-version-classic@
4+
## Interface-BCC: @toc-version-bcc@
5+
## Interface-Wrath: @toc-version-wrath@
26
## Title: Macro Toolkit
37
## Notes: Enhanced macro frame with additional tools
48
## Notes-zhTW: 增強巨集UI,方便編寫巨集並加強功能

MacroToolkit/modules/mainframe.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ function MT:CreateMTFrame()
481481
end
482482

483483
local mcopy
484-
local mttab1 = CreateFrame("Button", "MacroToolkitFrameTab1", mtframe, "BackdropTemplate,PanelTabButtonTemplate")
484+
local mttab1 = CreateFrame("Button", "MacroToolkitFrameTab1", mtframe, "BackdropTemplate," .. (C_EditMode and "CharacterFrameTabTemplate" or "CharacterFrameTabButtonTemplate"))
485485
do
486486
--mttab1:SetText(_G.GENERAL_MACROS)
487487
mttab1:SetText(_G.GENERAL)
@@ -507,7 +507,7 @@ function MT:CreateMTFrame()
507507
end)
508508
end
509509

510-
local mttab2 = CreateFrame("Button", "MacroToolkitFrameTab2", mtframe, "BackdropTemplate,PanelTabButtonTemplate")
510+
local mttab2 = CreateFrame("Button", "MacroToolkitFrameTab2", mtframe, "BackdropTemplate," .. (C_EditMode and "CharacterFrameTabTemplate" or "CharacterFrameTabButtonTemplate"))
511511
do
512512
mttab2:SetID(2)
513513
mttab2:SetPoint("LEFT", mttab1, "RIGHT", 0, 0)
@@ -541,7 +541,7 @@ function MT:CreateMTFrame()
541541
end)
542542
end
543543

544-
local mttab3 = CreateFrame("Button", "MacroToolkitFrameTab3", mtframe, "BackdropTemplate,PanelTabButtonTemplate")
544+
local mttab3 = CreateFrame("Button", "MacroToolkitFrameTab3", mtframe, "BackdropTemplate," .. (C_EditMode and "CharacterFrameTabTemplate" or "CharacterFrameTabButtonTemplate"))
545545
do
546546
mttab3:SetID(3)
547547
mttab3:SetPoint("LEFT", mttab2, "RIGHT", 0, 0)

MacroToolkitIcons/MacroToolkitIcons.toc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
## Interface: @toc-version-retail@
2+
## Interface-Retail: @toc-version-retail@
3+
## Interface-Classic: @toc-version-classic@
4+
## Interface-BCC: @toc-version-bcc@
5+
## Interface-Wrath: @toc-version-wrath@
26
## Author: Deepac
37
## Title: MacroToolkit Icon Data
48
## Version: @project-version@

0 commit comments

Comments
 (0)