Skip to content

Commit 1497c92

Browse files
committed
Merge branch 'main' into ptr
2 parents 6018a2c + e120fc1 commit 1497c92

File tree

6 files changed

+75
-55
lines changed

6 files changed

+75
-55
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
### Version 13.85 [ February 25th 2025 ]
2+
* **Cataclysm fixes:**
3+
* Boss Button
4+
* Currency Datatext
5+
* Range options can now accept a dragged spell from the spellbook as the input.
6+
* Boss unitframe castbar has positioning options similar to party now.
7+
* Datatext Spell Hit now has a label option.
8+
* Testing Unitframes with the Show Frames button can now show the dead backdrop and some status tags.
9+
* Custom Class Colors not working properly when no other addons are enabled.
10+
* Nameplate Style Filter trigger for Player Role now works again.
11+
* PVP Capture widget should be skinned correctly again.
12+
* Nameplate friendly environment condition settings can be changed without exploding.
13+
* Chat editbox outline will now match the Chat font outline setting.
14+
115
### Version 13.84 [ February 18th 2025 ]
216
* Fallback checking for Range of Unitframes slightly adjusted (should help Hunters and Rogues).
317
* Datatexts Mana Regen and Heal Power have a label option now.

ElvUI/Core/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ end
127127
function E:ParseVersionString(addon)
128128
local version = GetAddOnMetadata(addon, 'Version')
129129
if strfind(version, 'project%-version') then
130-
return 13.84, '13.84-git', nil, true
130+
return 13.85, '13.85-git', nil, true
131131
else
132132
local release, extra = strmatch(version, '^v?([%d.]+)(.*)')
133133
return tonumber(release), release..extra, extra ~= ''

ElvUI/Mainline/Modules/Skins/AddonManager.lua

+20-19
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ local hooksecurefunc = hooksecurefunc
88
local GetAddOnInfo = C_AddOns.GetAddOnInfo
99

1010
local function HandleButton(entry, treeNode)
11-
local data = treeNode:GetData()
12-
local _, _, _, _, reason = GetAddOnInfo(data.addonIndex)
13-
1411
if not entry.IsSkinned then
1512
S:HandleCheckBox(entry.Enabled)
1613
S:HandleButton(entry.LoadAddonButton)
@@ -24,23 +21,27 @@ local function HandleButton(entry, treeNode)
2421
entry.IsSkinned = true
2522
end
2623

27-
local checkstate = E:GetAddOnEnableState(data.addonIndex)
28-
if checkstate == 2 then
29-
entry.Status:SetTextColor(0.7, 0.7, 0.7)
30-
else
31-
entry.Status:SetTextColor(0.4, 0.4, 0.4)
32-
end
24+
local data = treeNode:GetData()
25+
if data then
26+
local checkstate = E:GetAddOnEnableState(data.addonIndex)
27+
if checkstate == 2 then
28+
entry.Status:SetTextColor(0.7, 0.7, 0.7)
29+
else
30+
entry.Status:SetTextColor(0.4, 0.4, 0.4)
31+
end
3332

34-
local checktex = entry.Enabled:GetCheckedTexture()
35-
if reason == 'DEP_DISABLED' then
36-
checktex:SetVertexColor(0.6, 0.6, 0.6)
37-
checktex:SetDesaturated(true)
38-
elseif checkstate == 1 then
39-
checktex:SetVertexColor(1, 0.8, 0.1)
40-
checktex:SetDesaturated(false)
41-
elseif checkstate == 2 then
42-
checktex:SetVertexColor(unpack(E.media.rgbvaluecolor))
43-
checktex:SetDesaturated(false)
33+
local _, _, _, _, reason = GetAddOnInfo(data.addonIndex)
34+
local checktex = entry.Enabled:GetCheckedTexture()
35+
if reason == 'DEP_DISABLED' then
36+
checktex:SetVertexColor(0.6, 0.6, 0.6)
37+
checktex:SetDesaturated(true)
38+
elseif checkstate == 1 then
39+
checktex:SetVertexColor(1, 0.8, 0.1)
40+
checktex:SetDesaturated(false)
41+
elseif checkstate == 2 then
42+
checktex:SetVertexColor(unpack(E.media.rgbvaluecolor))
43+
checktex:SetDesaturated(false)
44+
end
4445
end
4546
end
4647

ElvUI/Mainline/Modules/Skins/WorldMap.lua

+37-33
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ local S = E:GetModule('Skins')
33
local TT = E:GetModule('Tooltip')
44

55
local _G = _G
6+
local next = next
67
local unpack = unpack
78
local hooksecurefunc = hooksecurefunc
89

@@ -179,6 +180,7 @@ function S:WorldMapFrame()
179180
QuestScrollFrame.BorderFrame:SetAlpha(0)
180181
QuestScrollFrame.Background:SetAlpha(0)
181182
QuestScrollFrame.Contents.Separator:SetAlpha(0)
183+
182184
QuestScrollFrame:SetTemplate()
183185
SkinHeaders(QuestScrollFrame.Contents.StoryHeader)
184186
S:HandleEditBox(QuestScrollFrame.SearchBox)
@@ -258,54 +260,56 @@ function S:WorldMapFrame()
258260
MapLegendScroll:SetTemplate()
259261
S:HandleTrimScrollBar(MapLegendScroll.ScrollBar)
260262

261-
-- 11.1 Stuff
262-
local EventsFrame = QuestMapFrame.EventsFrame
263-
EventsFrame.TitleText:FontTemplate(nil, 16)
264-
EventsFrame.BorderFrame:SetAlpha(0)
265-
266-
--[[
267-
TO DO: Fill the inlay with some love
268-
]]
269-
270-
local EventsFrameScroll = EventsFrame.ScrollBox
271-
EventsFrameScroll:StripTextures()
272-
EventsFrameScroll:SetTemplate()
273-
S:HandleTrimScrollBar(EventsFrame.ScrollBar)
274-
275-
-- New Side Tabs
263+
-- 11.1 New Side Tabs
276264
local tabs = {
277265
QuestMapFrame.QuestsTab,
278266
QuestMapFrame.EventsTab,
279267
QuestMapFrame.MapLegendTab
280268
}
281269

282-
for _, tab in pairs(tabs) do
283-
tab.Background:SetAlpha(0)
270+
for _, tab in next, tabs do
284271
tab:Size(34, 44)
285-
286272
tab:CreateBackdrop()
287273
tab.backdrop:Point('TOPLEFT', 2, -2)
288274
tab.backdrop:Point('BOTTOMRIGHT', -2, 2)
289275

290-
tab.SelectedTexture:SetDrawLayer('ARTWORK')
291-
tab.SelectedTexture:ClearAllPoints()
292-
tab.SelectedTexture:SetPoint('TOPLEFT', 4, -4)
293-
tab.SelectedTexture:SetPoint('BOTTOMRIGHT', -4, 4)
294-
tab.SelectedTexture:SetColorTexture(1, 0.82, 0, 0.3)
295-
296-
for _, region in next, {tab:GetRegions()} do
297-
if region:IsObjectType('Texture') then
298-
if region:GetAtlas() == 'QuestLog-Tab-side-Glow-hover' then
299-
region:Point('TOPLEFT', 4, -4)
300-
region:Point('BOTTOMRIGHT', -4, 4)
301-
region:SetColorTexture(1, 1, 1, 0.3)
302-
end
276+
if tab.Background then
277+
tab.Background:SetAlpha(0)
278+
end
279+
280+
if tab.SelectedTexture then
281+
tab.SelectedTexture:SetDrawLayer('ARTWORK')
282+
tab.SelectedTexture:ClearAllPoints()
283+
tab.SelectedTexture:SetPoint('TOPLEFT', 4, -4)
284+
tab.SelectedTexture:SetPoint('BOTTOMRIGHT', -4, 4)
285+
tab.SelectedTexture:SetColorTexture(1, 0.82, 0, 0.3)
286+
end
287+
288+
for _, region in next, { tab:GetRegions() } do
289+
if region:IsObjectType('Texture') and region:GetAtlas() == 'QuestLog-Tab-side-Glow-hover' then
290+
region:SetColorTexture(1, 1, 1, 0.3)
291+
region:Point('TOPLEFT', 4, -4)
292+
region:Point('BOTTOMRIGHT', -4, 4)
303293
end
304294
end
305295
end
306296

307-
QuestMapFrame.QuestsTab:ClearAllPoints()
308-
QuestMapFrame.QuestsTab:Point('TOPLEFT', QuestMapFrame, 'TOPRIGHT', 1, 2)
297+
if QuestMapFrame.QuestsTab then
298+
QuestMapFrame.QuestsTab:ClearAllPoints()
299+
QuestMapFrame.QuestsTab:Point('TOPLEFT', QuestMapFrame, 'TOPRIGHT', 1, 2)
300+
end
301+
302+
local EventsFrame = QuestMapFrame.EventsFrame
303+
if EventsFrame then
304+
EventsFrame.TitleText:FontTemplate(nil, 16)
305+
EventsFrame.BorderFrame:SetAlpha(0)
306+
307+
local EventsFrameScrollBox = EventsFrame.ScrollBox
308+
EventsFrameScrollBox:StripTextures()
309+
EventsFrameScrollBox:SetTemplate()
310+
311+
S:HandleTrimScrollBar(EventsFrame.ScrollBar)
312+
end
309313
end
310314

311315
S:AddCallback('WorldMapFrame')

ElvUI_Libraries/Core/Ace3-ElvUI/AceGUIWidget-MultiLineEditBox-ElvUI.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ local Type, Version = "MultiLineEditBox-ElvUI", 35
55
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
66
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
77

8-
local _G, pairs = _G, pairs
8+
local _G = _G
9+
local tostring, pairs = tostring, pairs
910
local GetCursorInfo, ClearCursor = GetCursorInfo, ClearCursor
1011
local CreateFrame, UIParent = CreateFrame, UIParent
1112
local ACCEPT = ACCEPT

ElvUI_Libraries/Core/LibActionButton-1.0/LibActionButton-1.0.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- License: LICENSE.txt
22

33
local MAJOR_VERSION = "LibActionButton-1.0-ElvUI"
4-
local MINOR_VERSION = 59 -- the real minor version is 119
4+
local MINOR_VERSION = 60 -- the real minor version is 119
55

66
local LibStub = LibStub
77
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end

0 commit comments

Comments
 (0)