Commit 5ff16411 authored by Merathilis's avatar Merathilis

And change MotionType aswell.

parent a2433c72
......@@ -106,8 +106,6 @@ function NP:SetCVars()
SetCVar('nameplateOtherBottomInset', -1)
end
SetCVar('nameplateMotion', NP.db.motionType == 'STACKED' and 1 or 0)
SetCVar('NameplatePersonalShowAlways', NP.db.units.PLAYER.visibility.showAlways and 1 or 0)
SetCVar('NameplatePersonalShowInCombat', NP.db.units.PLAYER.visibility.showInCombat and 1 or 0)
SetCVar('NameplatePersonalShowWithTarget', NP.db.units.PLAYER.visibility.showWithTarget and 1 or 0)
......
......@@ -438,7 +438,6 @@ P.nameplates = {
fontOutline = 'OUTLINE',
fontSize = 11,
lowHealthThreshold = 0.4,
motionType = 'STACKED',
nameColoredGlow = false,
showEnemyCombat = 'DISABLED',
showFriendlyCombat = 'DISABLED',
......
......@@ -4311,9 +4311,11 @@ E.Options.args.nameplate = {
order = 1,
name = L["UNIT_NAMEPLATES_TYPES"],
desc = L["Set to either stack nameplates vertically or allow them to overlap."],
get = function() return tonumber(GetCVar('nameplateMotion')) end,
set = function(_, value) SetCVar('nameplateMotion', value) end,
values = {
['STACKED'] = L["UNIT_NAMEPLATES_TYPE_2"],
['OVERLAP'] = L["UNIT_NAMEPLATES_TYPE_1"],
[0] = L["UNIT_NAMEPLATES_TYPE_1"],
[1] = L["UNIT_NAMEPLATES_TYPE_2"],
},
},
showEnemyCombat = {
......
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