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
ElvUI_MerathilisUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
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
Merathilis
ElvUI_MerathilisUI
Commits
e709e27b
Commit
e709e27b
authored
Sep 11, 2019
by
Merathilis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update again MicroBar visibility.
parent
75b89c04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ElvUI_MerathilisUI/modules/actionbars/microBar.lua
ElvUI_MerathilisUI/modules/actionbars/microBar.lua
+6
-4
No files found.
ElvUI_MerathilisUI/modules/actionbars/microBar.lua
View file @
e709e27b
...
...
@@ -49,6 +49,7 @@ local GetNumSavedWorldBosses = GetNumSavedWorldBosses
local
GetSavedWorldBossInfo
=
GetSavedWorldBossInfo
local
RequestRaidInfo
=
RequestRaidInfo
local
RegisterStateDriver
=
RegisterStateDriver
local
UnregisterStateDriver
=
UnregisterStateDriver
local
SecondsToTime
=
SecondsToTime
local
GameTooltip
=
GameTooltip
local
UnitLevel
=
UnitLevel
...
...
@@ -928,9 +929,14 @@ function module:Toggle()
if
module
.
db
.
enable
then
microBar
:
Show
()
E
:
EnableMover
(
microBar
.
mover
:
GetName
())
if
module
.
db
.
hideInCombat
then
RegisterStateDriver
(
microBar
,
'visibility'
,
'[combat] hide;show'
)
end
else
microBar
:
Hide
()
E
:
DisableMover
(
microBar
.
mover
:
GetName
())
UnregisterStateDriver
(
microBar
,
'visibility'
)
end
module
:
UNIT_AURA
(
nil
,
"player"
)
end
...
...
@@ -968,10 +974,6 @@ function module:Initialize()
self
:
ForUpdateAll
()
if
module
.
db
.
hideInCombat
then
RegisterStateDriver
(
microBar
,
'visibility'
,
'[combat] hide;show'
)
end
self
:
RegisterEvent
(
"UNIT_AURA"
)
end
...
...
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