Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Blazeflack
ElvUI_VisualAuraTimers
Commits
fc79113f
Commit
fc79113f
authored
Nov 15, 2018
by
Blazeflack
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed incompatibility issue with ElvUI v10.82 and lower
parent
2419582e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
ElvUI_VisualAuraTimers/core.lua
ElvUI_VisualAuraTimers/core.lua
+10
-2
No files found.
ElvUI_VisualAuraTimers/core.lua
View file @
fc79113f
...
...
@@ -203,7 +203,11 @@ function VAT:UpdateAura(button, index)
local
color
=
E
.
db
.
VAT
.
staticColor
r
,
g
,
b
=
VAT
:
GetStaticColor
(
color
.
r
,
color
.
g
,
color
.
b
)
--Checks for class color match
else
r
,
g
,
b
=
ElvUF
:
ColorGradient
(
timeLeft
,
duration
or
0
,
0
.
8
,
0
,
0
,
0
.
8
,
0
.
8
,
0
,
0
,
0
.
8
,
0
)
if
tonumber
(
E
.
version
)
and
tonumber
(
E
.
version
)
<
10
.
83
then
r
,
g
,
b
=
ElvUF
.
ColorGradient
(
timeLeft
,
duration
or
0
,
0
.
8
,
0
,
0
,
0
.
8
,
0
.
8
,
0
,
0
,
0
.
8
,
0
)
else
r
,
g
,
b
=
ElvUF
:
ColorGradient
(
timeLeft
,
duration
or
0
,
0
.
8
,
0
,
0
,
0
.
8
,
0
.
8
,
0
,
0
,
0
.
8
,
0
)
end
end
button
.
Bar
:
SetStatusBarColor
(
r
,
g
,
b
)
end
...
...
@@ -317,7 +321,11 @@ function VAT:UpdateTempEnchant(button, index)
local
color
=
E
.
db
.
VAT
.
staticColor
r
,
g
,
b
=
VAT
:
GetStaticColor
(
color
.
r
,
color
.
g
,
color
.
b
)
--Checks for class color match
else
r
,
g
,
b
=
ElvUF
:
ColorGradient
(
timeLeft
,
duration
or
0
,
0
.
8
,
0
,
0
,
0
.
8
,
0
.
8
,
0
,
0
,
0
.
8
,
0
)
if
tonumber
(
E
.
version
)
and
tonumber
(
E
.
version
)
<
10
.
83
then
r
,
g
,
b
=
ElvUF
:
ColorGradient
(
timeLeft
,
duration
or
0
,
0
.
8
,
0
,
0
,
0
.
8
,
0
.
8
,
0
,
0
,
0
.
8
,
0
)
else
r
,
g
,
b
=
ElvUF
:
ColorGradient
(
timeLeft
,
duration
or
0
,
0
.
8
,
0
,
0
,
0
.
8
,
0
.
8
,
0
,
0
,
0
.
8
,
0
)
end
end
button
.
Bar
:
SetStatusBarColor
(
r
,
g
,
b
)
local
quality
=
GetInventoryItemQuality
(
"player"
,
index
)
...
...
Blazeflack
@Blazeflack
·
Nov 15, 2018
Maintainer
Fixes
#10 (closed)
Fixes #10
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