Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ElvUI_FCT
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Simpy
ElvUI_FCT
Commits
4ca2ddb8
Commit
4ca2ddb8
authored
Apr 20, 2019
by
Simpy
🐹
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actually just block ToggleFrames execution
parent
3b28b11f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ElvUI_FCT/init.lua
ElvUI_FCT/init.lua
+2
-4
No files found.
ElvUI_FCT/init.lua
View file @
4ca2ddb8
...
...
@@ -382,6 +382,8 @@ function FCT:FetchDB(Module, Type)
end
function
FCT
:
ToggleFrame
(
frame
)
if
not
FCT
.
db
then
return
end
if
frame
.
unitframeType
then
FCT
:
Toggle
(
frame
,
'unitframes'
,
FCT
:
FetchDB
(
'unitframes'
,
frame
.
unitframeType
))
elseif
frame
.
frameType
then
...
...
@@ -484,8 +486,6 @@ end
hooksecurefunc
(
E
,
'Initialize'
,
FCT
.
Initialize
)
hooksecurefunc
(
NP
,
'Update_Health'
,
function
(
_
,
nameplate
)
if
not
FCT
.
db
then
return
end
if
not
nameplate
.
ElvFCT
then
nameplate
.
ElvFCT
=
FCT
:
Build
(
nameplate
,
nameplate
.
RaisedElement
)
end
...
...
@@ -493,8 +493,6 @@ hooksecurefunc(NP, 'Update_Health', function(_, nameplate)
FCT
:
ToggleFrame
(
nameplate
)
end
)
hooksecurefunc
(
UF
,
'Configure_HealthBar'
,
function
(
_
,
frame
)
if
not
FCT
.
db
then
return
end
if
not
frame
.
ElvFCT
then
frame
.
ElvFCT
=
FCT
:
Build
(
frame
,
frame
.
RaisedElementParent
)
end
...
...
Simpy
🐹
@Simpy
mentioned in issue
#2 (closed)
·
Apr 20, 2019
mentioned in issue
#2 (closed)
mentioned in issue #2
Toggle commit list
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