update np

This commit is contained in:
Bunny67
2018-07-28 21:14:28 +03:00
parent 05914d85e3
commit 31a64d0ca8
6 changed files with 50 additions and 17 deletions
+1 -2
View File
@@ -792,18 +792,17 @@ E.Options.args.nameplate = {
guiInline = true,
name = L["Click Through"],
get = function(info) return E.db.nameplates.clickThrough[ info[getn(info)] ] end,
set = function(info, value) E.db.nameplates.clickThrough[ info[getn(info)] ] = value; NP:ConfigureAll() end,
args = {
friendly = {
order = 2,
type = "toggle",
name = L["Friendly"],
--set = function(info, value) E.db.nameplates.clickThrough.friendly = value; NP:SetNamePlateFriendlyClickThrough() end,
},
enemy = {
order = 3,
type = "toggle",
name = L["Enemy"],
--set = function(info, value) E.db.nameplates.clickThrough.enemy = value; NP:SetNamePlateEnemyClickThrough() end,
},
},
},