Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hekili
ElvUI
Commits
81131a8a
Commit
81131a8a
authored
Jun 02, 2019
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NamePlate Clickable Settings
parent
80babe4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
ElvUI_OptionsUI/Nameplates.lua
ElvUI_OptionsUI/Nameplates.lua
+14
-14
No files found.
ElvUI_OptionsUI/Nameplates.lua
View file @
81131a8a
...
...
@@ -2274,9 +2274,9 @@ local function GetUnitSettings(unit, name)
max = function()
if unit == 'PLAYER' then
return (NP.db.plateSize.personalHeight or 20)
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
ENEMY_PLAYER
" then
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
FRIENDLY_NPC
" then
return (NP.db.plateSize.friendlyHeight or 20)
elseif unit == "
ENEMY_
NPC
" or unit == "
FRIENDL
Y_NPC
" then
elseif unit == "
ENEMY_
PLAYER
" or unit == "
ENEM
Y_NPC
" then
return (NP.db.plateSize.enemyHeight or 20)
else
return 20
...
...
@@ -2413,9 +2413,9 @@ local function GetUnitSettings(unit, name)
max = function()
if unit == 'PLAYER' then
return (NP.db.plateSize.personalWidth or 250)
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
ENEMY_PLAYER
" then
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
FRIENDLY_NPC
" then
return (NP.db.plateSize.friendlyWidth or 250)
elseif unit == "
ENEMY_
NPC
" or unit == "
FRIENDL
Y_NPC
" then
elseif unit == "
ENEMY_
PLAYER
" or unit == "
ENEM
Y_NPC
" then
return (NP.db.plateSize.enemyWidth or 250)
else
return 250
...
...
@@ -2432,9 +2432,9 @@ local function GetUnitSettings(unit, name)
max = function()
if unit == 'PLAYER' then
return (NP.db.plateSize.personalHeight or 20)
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
ENEMY_PLAYER
" then
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
FRIENDLY_NPC
" then
return (NP.db.plateSize.friendlyHeight or 20)
elseif unit == "
ENEMY_
NPC
" or unit == "
FRIENDL
Y_NPC
" then
elseif unit == "
ENEMY_
PLAYER
" or unit == "
ENEM
Y_NPC
" then
return (NP.db.plateSize.enemyHeight or 20)
else
return 20
...
...
@@ -2601,9 +2601,9 @@ local function GetUnitSettings(unit, name)
max = function()
if unit == 'PLAYER' then
return (NP.db.plateSize.personalWidth or 250)
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
ENEMY_PLAYER
" then
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
FRIENDLY_NPC
" then
return (NP.db.plateSize.friendlyWidth or 250)
elseif unit == "
ENEMY_
NPC
" or unit == "
FRIENDL
Y_NPC
" then
elseif unit == "
ENEMY_
PLAYER
" or unit == "
ENEM
Y_NPC
" then
return (NP.db.plateSize.enemyWidth or 250)
else
return 250
...
...
@@ -2620,9 +2620,9 @@ local function GetUnitSettings(unit, name)
max = function()
if unit == 'PLAYER' then
return (NP.db.plateSize.personalHeight or 20)
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
ENEMY_PLAYER
" then
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
FRIENDLY_NPC
" then
return (NP.db.plateSize.friendlyHeight or 20)
elseif unit == "
ENEMY_
NPC
" or unit == "
FRIENDL
Y_NPC
" then
elseif unit == "
ENEMY_
PLAYER
" or unit == "
ENEM
Y_NPC
" then
return (NP.db.plateSize.enemyHeight or 20)
else
return 20
...
...
@@ -3734,9 +3734,9 @@ local function GetUnitSettings(unit, name)
max = function()
if unit == 'PLAYER' then
return (NP.db.plateSize.personalWidth or 250)
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
ENEMY_PLAYER
" then
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
FRIENDLY_NPC
" then
return (NP.db.plateSize.friendlyWidth or 250)
elseif unit == "
ENEMY_
NPC
" or unit == "
FRIENDL
Y_NPC
" then
elseif unit == "
ENEMY_
PLAYER
" or unit == "
ENEM
Y_NPC
" then
return (NP.db.plateSize.enemyWidth or 250)
else
return 250
...
...
@@ -3754,9 +3754,9 @@ local function GetUnitSettings(unit, name)
max = function()
if unit == 'PLAYER' then
return (NP.db.plateSize.personalHeight or 20)
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
ENEMY_PLAYER
" then
elseif unit == "
FRIENDLY_PLAYER
" or unit == "
FRIENDLY_NPC
" then
return (NP.db.plateSize.friendlyHeight or 20)
elseif unit == "
ENEMY_
NPC
" or unit == "
FRIENDL
Y_NPC
" then
elseif unit == "
ENEMY_
PLAYER
" or unit == "
ENEM
Y_NPC
" then
return (NP.db.plateSize.enemyHeight or 20)
else
return 20
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment