Skip to content

Commit

Permalink
only space when one exists
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Nov 29, 2024
1 parent c4b5f5d commit ec75319
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ElvUI/Core/Modules/DataTexts/EquipmentSets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ local displayString, db = ''

local function OnEnter()
DT.tooltip:ClearLines()

DT.tooltip:AddLine('Equipment Sets')
DT.tooltip:AddLine(' ')

for _, set in ipairs(sets) do
for i, set in ipairs(sets) do
if i == 1 then
DT.tooltip:AddLine(' ')
end

DT.tooltip:AddLine(set.text, set.isEquipped and .2 or 1, set.isEquipped and 1 or .2, .2)
end

Expand Down

0 comments on commit ec75319

Please sign in to comment.