Skip to content

Commit cfb5f5b

Browse files
committed
Merge branch 'main' into ptr
2 parents e988665 + 973fd09 commit cfb5f5b

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

ElvUI/Core/Modules/Maps/Minimap.lua

+4-2
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,10 @@ end
681681

682682
function M:SetGetMinimapShape()
683683
GetMinimapShape = M.GetMinimapShape
684+
685+
if M.db.size then
686+
Minimap:Size(M.db.size)
687+
end
684688
end
685689

686690
function M:Initialize()
@@ -689,8 +693,6 @@ function M:Initialize()
689693

690694
return
691695
else
692-
M:SetGetMinimapShape() -- this is just to support for other mods
693-
694696
local container = MinimapCluster.MinimapContainer
695697
if container then
696698
container:SetScale(1) -- Setting that could get set in Blizzard Edit Mode

ElvUI/Core/init.lua

+4
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,10 @@ function E:OnInitialize()
385385
E:UpdateMedia()
386386
E:InitializeInitialModules()
387387

388+
if E.private.general.minimap.enable then
389+
E.Minimap:SetGetMinimapShape() -- this is just to support for other mods, keep below UIMult
390+
end
391+
388392
if E:IsAddOnEnabled('Tukui') then
389393
E:StaticPopup_Show('TUKUI_ELVUI_INCOMPATIBLE')
390394
end

ElvUI/Mainline/Modules/DataTexts/Crests.lua

-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ local CRESTS_EARNED = strsplit('%', _G.CURRENCY_SEASON_TOTAL_MAXIMUM)
1111

1212
local crests = {
1313
{ id = 3008, color = _G.HEIRLOOM_BLUE_COLOR:GenerateHexColor() }, -- Valorstones
14-
15-
-- TWW Season 1: Harbinger
16-
{ id = 2914, color = _G.UNCOMMON_GREEN_COLOR:GenerateHexColor() }, -- Weathered
17-
{ id = 2915, color = _G.RARE_BLUE_COLOR:GenerateHexColor() }, -- Carved
18-
{ id = 2916, color = _G.EPIC_PURPLE_COLOR:GenerateHexColor() }, -- Runed
19-
{ id = 2917, color = _G.LEGENDARY_ORANGE_COLOR:GenerateHexColor() }, -- Gilded
20-
21-
-- TWW Season 2: Undermine
2214
{ id = 3107, color = _G.UNCOMMON_GREEN_COLOR:GenerateHexColor() }, -- Weathered
2315
{ id = 3108, color = _G.RARE_BLUE_COLOR:GenerateHexColor() }, -- Carved
2416
{ id = 3109, color = _G.EPIC_PURPLE_COLOR:GenerateHexColor() }, -- Runed

ElvUI/Mainline/Modules/Skins/PlayerChoice.lua

+7-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ local pairs = pairs
77
local hooksecurefunc = hooksecurefunc
88

99
function S:PlayerChoice_SetupButtons(buttons)
10-
if buttons and buttons.buttonPool then
11-
for button in buttons.buttonPool:EnumerateActive() do
12-
if not button.IsSkinned then
13-
S:HandleButton(button)
10+
if buttons and buttons.buttonFramePool then
11+
for buttonFrame in buttons.buttonFramePool:EnumerateActive() do
12+
if not buttonFrame.IsSkinned then
13+
S:HandleButton(buttonFrame.Button, true)
14+
15+
buttonFrame.IsSkinned = true
1416
end
1517
end
1618
end
@@ -62,6 +64,7 @@ function S:PlayerChoice_SetupOptions()
6264
self.BlackBackground:SetAlpha(0)
6365
self.Background:SetAlpha(0)
6466
self.NineSlice:SetAlpha(0)
67+
self.BorderOverlay:SetAlpha(0)
6568

6669
self.Title:DisableDrawLayer('BACKGROUND')
6770
self.Title.Text:SetTextColor(1, 0.8, 0)

0 commit comments

Comments
 (0)