Skip to content

Commit af9b407

Browse files
committed
Classic: BugFix, auras duration not displayed for group buffs.
Classic: BufFix, graphics glitch in debuffs group configuration.
1 parent a2c1166 commit af9b407

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Options/GridUtils.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ do
215215
Auras = { type = "header", order = 150, name = L["Auras"] },
216216
DebuffFilter = { type = "header", order = 175, name = L["Filtered debuffs"] },
217217
ClassFilter = { type = "header", order = 200, name = L["Class Filter"] },
218+
AurasExpanded= { type = "header", order = 300, name = L["Display"] },
218219
}
219220
function Grid2Options:MakeHeaderOptions( options, key )
220221
options[ "header"..key ] = headers[key]

Options/modules/statuses/StatusAuraBuffs.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
local L = Grid2Options.L
22

33
function Grid2Options:MakeStatusBuffsListOptions(status, options, optionParams)
4-
self:MakeHeaderOptions( options, "Display" )
4+
self:MakeHeaderOptions( options, "AurasExpanded" )
55
options.aurasList = {
66
type = "input", dialogControl = "Grid2ExpandedEditBox",
7-
order = 155,
7+
order = 310,
88
width = "full",
99
name = "",
1010
multiline = math.min( math.max(status.dbx.auras and #status.dbx.auras or 0,5),10),

modules/StatusAurasBuffs.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ local function status_Create(baseKey, dbx)
3434
local status = Grid2.statusPrototype:new(baseKey, false)
3535
if dbx.spellName then dbx.spellName = nil end -- fix possible wrong data in old database
3636
status.GetIcons = status_GetIcons
37+
if Grid2.classicDurations then UnitAura = LibStub("LibClassicDurations").UnitAuraDirect end
3738
return Grid2.CreateStatusAura( status, basekey, dbx, 'buff', statusTypes )
3839
end
3940

0 commit comments

Comments
 (0)