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
7156b7b2
Commit
7156b7b2
authored
Feb 17, 2019
by
Blazeflack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved comment
parent
f374b3b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ElvUI_VisualAuraTimers/core.lua
ElvUI_VisualAuraTimers/core.lua
+2
-1
No files found.
ElvUI_VisualAuraTimers/core.lua
View file @
7156b7b2
...
...
@@ -74,9 +74,10 @@ function VAT:CreateBar(button)
BarHolder
:
Height
((
isOnLeft
or
isOnRight
)
and
height
or
(
E
.
db
.
VAT
.
barHeight
+
(
E
.
PixelMode
and
0
or
2
)))
BarHolder
:
Point
(
inversePoints
[
pos
],
button
,
pos
,
(
isOnTop
or
isOnBottom
)
and
0
or
((
isOnLeft
and
-
((
E
.
PixelMode
and
1
or
3
)
+
spacing
))
or
((
E
.
PixelMode
and
1
or
3
)
+
spacing
)),
(
isOnLeft
or
isOnRight
)
and
0
or
((
isOnTop
and
((
E
.
PixelMode
and
1
or
3
)
+
spacing
)
or
-
((
E
.
PixelMode
and
1
or
3
)
+
spacing
))))
BarHolder
:
SetTemplate
(
'Default'
,
nil
,
true
)
if
E
.
db
.
VAT
.
useBackdropTexture
then
--deprecated
if
E
.
db
.
VAT
.
useBackdropTexture
then
local
texture
=
LSM
:
Fetch
(
"statusbar"
,
E
.
db
[
'VAT'
].
backdropTexture
)
if
BarHolder
.
backdropTexture
then
--deprecated
BarHolder
.
backdropTexture
:
SetTexture
(
texture
)
else
BarHolder
:
GetBackdrop
().
bgFile
=
texture
...
...
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