diff --git a/config/config.lua b/config/config.lua index 1be86d41..b563a2fe 100644 --- a/config/config.lua +++ b/config/config.lua @@ -324,8 +324,8 @@ C.CharacterSettings = { AbbrName = true, HealthPerc = true, FriendlyPlate = true, - TargetIndicator = true, - TargetIndicatorColor = { r = 0.73, g = 0.92, b = 0.99 }, + SelectedIndicator = true, + SelectedIndicatorColor = { r = 0.73, g = 0.92, b = 0.99 }, ThreatIndicator = true, ClassifyIndicator = true, QuestIndicator = true, diff --git a/gui/options.lua b/gui/options.lua index 71ee7a6c..a738ed51 100644 --- a/gui/options.lua +++ b/gui/options.lua @@ -177,6 +177,10 @@ local function RefreshAllPlates() NAMEPLATE:RefreshAllPlates() end +local function UpdateNameplateRaidTargetIndicator() + NAMEPLATE:UpdateRaidTargetIndicator() +end + -- Unitframe local function UpdateHealthColor() @@ -2168,6 +2172,16 @@ GUI.OptionsList = { UpdatePlateClickThrough, L["Hostile units' nameplate ignore mouse clicks."], }, + { + 1, + 'Nameplate', + 'HealthPerc', + L['Health Percentage'], + true, + nil, + nil, + L['Display the health percentage on the nameplate and hides it when it is full.'], + }, {}, { 1, @@ -2253,12 +2267,12 @@ GUI.OptionsList = { { 1, 'Nameplate', - 'HealthPerc', - L['Health Percentage'], + 'SelectedIndicator', + L['Selected Indicator'], true, nil, nil, - L['Display the health percentage on the nameplate and hides it when it is full.'], + L['The currently selected unit has a white glow at the bottom of its nameplate.'], }, { 1, @@ -2283,12 +2297,12 @@ GUI.OptionsList = { { 1, 'Nameplate', - 'TargetIndicator', - L['Target Indicator'], - nil, + 'RaidTargetIndicator', + L['Raid Target Indicator'], nil, nil, - L['A white glow is displayed below the nameplate of the current target.'], + UpdateNameplateRaidTargetIndicator, + L["Display raid target indicator on nameplate."], }, { 1, diff --git a/modules/nameplate/elements/elements.xml b/modules/nameplate/elements/elements.xml index e4ea19d3..1dfc03fc 100644 --- a/modules/nameplate/elements/elements.xml +++ b/modules/nameplate/elements/elements.xml @@ -1,4 +1,7 @@ -