Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ElvUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hekili
ElvUI
Commits
e608a5c7
Commit
e608a5c7
authored
Jun 01, 2019
by
Merathilis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Hide Azerite bar at max level"
This reverts commit
77fe78dc
.
parent
77fe78dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ElvUI/Modules/DataBars/Azerite.lua
ElvUI/Modules/DataBars/Azerite.lua
+1
-2
No files found.
ElvUI/Modules/DataBars/Azerite.lua
View file @
e608a5c7
...
...
@@ -10,7 +10,6 @@ local format = string.format
local
C_AzeriteItem_FindActiveAzeriteItem
=
C_AzeriteItem
.
FindActiveAzeriteItem
local
C_AzeriteItem_GetAzeriteItemXPInfo
=
C_AzeriteItem
.
GetAzeriteItemXPInfo
local
C_AzeriteItem_GetPowerLevel
=
C_AzeriteItem
.
GetPowerLevel
local
C_AzeriteItem_IsAzeriteItemAtMaxLevel
=
C_AzeriteItem
.
IsAzeriteItemAtMaxLevel
local
InCombatLockdown
=
InCombatLockdown
local
CreateFrame
=
CreateFrame
local
ARTIFACT_POWER
=
ARTIFACT_POWER
...
...
@@ -30,7 +29,7 @@ function mod:UpdateAzerite(event, unit)
local
bar
=
self
.
azeriteBar
local
azeriteItemLocation
=
C_AzeriteItem_FindActiveAzeriteItem
()
if
not
azeriteItemLocation
or
(
event
==
"PLAYER_REGEN_DISABLED"
and
self
.
db
.
azerite
.
hideInCombat
)
or
C_AzeriteItem_IsAzeriteItemAtMaxLevel
()
then
if
not
azeriteItemLocation
or
(
event
==
"PLAYER_REGEN_DISABLED"
and
self
.
db
.
azerite
.
hideInCombat
)
then
bar
:
Hide
()
elseif
azeriteItemLocation
and
(
not
self
.
db
.
azerite
.
hideInCombat
or
not
InCombatLockdown
())
then
bar
:
Show
()
...
...
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