Commit cf11bf69 authored by Merathilis's avatar Merathilis

Change...

Change 4f088b50 a to not lock the CVars from our side. Thx Azil
parent bc97e73f
......@@ -108,7 +108,6 @@ function NP:SetCVars()
SetCVar('nameplateMaxDistance', NP.db.loadDistance)
SetCVar('nameplateMotion', NP.db.motionType == 'STACKED' and 1 or 0)
SetCVar('nameplateOverlapV', NP.db.overlapV) -- Please check
SetCVar('NameplatePersonalShowAlways', NP.db.units.PLAYER.visibility.showAlways and 1 or 0)
SetCVar('NameplatePersonalShowInCombat', NP.db.units.PLAYER.visibility.showInCombat and 1 or 0)
......
......@@ -438,7 +438,6 @@ P.nameplates = {
fontOutline = 'OUTLINE',
fontSize = 11,
loadDistance = 40,
overlapV = 1.1,
lowHealthThreshold = 0.4,
motionType = 'STACKED',
nameColoredGlow = false,
......
......@@ -17,6 +17,8 @@ local GetSpecializationInfoForClassID = GetSpecializationInfoForClassID
local GetPvpTalentInfoByID = GetPvpTalentInfoByID
local GetSpellInfo = GetSpellInfo
local GetTalentInfo = GetTalentInfo
local SetCVar = SetCVar
local GetCVar = GetCVar
local raidTargetIcon = "|TInterface\\TargetingFrame\\UI-RaidTargetingIcon_%s:0|t %s"
local selectedNameplateFilter
......@@ -4361,6 +4363,8 @@ E.Options.args.nameplate = {
name = L["Overlap Vertical"],
desc = L["Percentage amount for vertical overlap of Nameplates."],
min = 0, max = 3, step = 0.1,
get = function() return tonumber(GetCVar('nameplateOverlapV')) end,
set = function(_, value) tonumber(SetCVar('nameplateOverlapV', value)) end,
},
lowHealthThreshold = {
order = 8,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment