Modules/Nameplates: Remove clamp to screen - cannot implement
This commit is contained in:
@@ -124,14 +124,6 @@ function NP:CVarReset()
|
||||
end
|
||||
|
||||
function NP:SetCVars()
|
||||
-- if NP.db.clampToScreen then
|
||||
-- NP:SetCVar('nameplateOtherTopInset', 0.08)
|
||||
-- NP:SetCVar('nameplateOtherBottomInset', 0.1)
|
||||
-- elseif GetCVar('nameplateOtherTopInset') == '0.08' and GetCVar('nameplateOtherBottomInset') == '0.1' then
|
||||
-- NP:SetCVar('nameplateOtherTopInset', -1)
|
||||
-- NP:SetCVar('nameplateOtherBottomInset', -1)
|
||||
-- end
|
||||
|
||||
NP:SetCVar('nameplateAllowOverlap', NP.db.motionType == 'STACKED' and 1 or 0)
|
||||
NP:SetCVar('nameplateDistance', NP.db.loadDistance)
|
||||
|
||||
|
||||
@@ -461,7 +461,6 @@ local NP_QuestIcon = {
|
||||
|
||||
--NamePlate
|
||||
P.nameplates = {
|
||||
clampToScreen = false,
|
||||
fadeIn = true,
|
||||
font = 'PT Sans Narrow',
|
||||
fontOutline = 'OUTLINE',
|
||||
|
||||
@@ -401,7 +401,6 @@ NamePlates.generalGroup.args.motionType = ACH:Select(L["UNIT_NAMEPLATES_TYPES"],
|
||||
NamePlates.generalGroup.args.showEnemyCombat = ACH:Select(L["Enemy Combat Toggle"], L["Control enemy nameplates toggling on or off when in combat."], 2, { DISABLED = L["Disable"], TOGGLE_ON = L["Toggle On While In Combat"], TOGGLE_OFF = L["Toggle Off While In Combat"] }, nil, nil, nil, function(info, value) E.db.nameplates[info[#info]] = value NP:PLAYER_REGEN_ENABLED() end)
|
||||
NamePlates.generalGroup.args.showFriendlyCombat = ACH:Select(L["Friendly Combat Toggle"], L["Control friendly nameplates toggling on or off when in combat."], 3, { DISABLED = L["Disable"], TOGGLE_ON = L["Toggle On While In Combat"], TOGGLE_OFF = L["Toggle Off While In Combat"] }, nil, nil, nil, function(info, value) E.db.nameplates[info[#info]] = value NP:PLAYER_REGEN_ENABLED() end)
|
||||
NamePlates.generalGroup.args.smoothbars = ACH:Toggle(L["Smooth Bars"], L["Bars will transition smoothly."], 4, nil, nil, 110)
|
||||
NamePlates.generalGroup.args.clampToScreen = ACH:Toggle(L["Clamp Nameplates"], L["Clamp nameplates to the top of the screen when outside of view."], 5, nil, nil, 140)
|
||||
NamePlates.generalGroup.args.spacer1 = ACH:Spacer(6, 'full')
|
||||
NamePlates.generalGroup.args.lowHealthThreshold = ACH:Range(L["Low Health Threshold"], L["Make the unitframe glow when it is below this percent of health."], 11, { min = 0, softMax = .5, max = .8, step = .01, isPercent = true })
|
||||
NamePlates.generalGroup.args.loadDistance = ACH:Range(L["Load Distance"], L["Only load nameplates for units within this range."], 12, { min = 5, max = 61, step = 1 }, nil, nil, nil, nil)
|
||||
|
||||
Reference in New Issue
Block a user