Commit 7156b7b2 authored by Blazeflack's avatar Blazeflack

Moved comment

parent f374b3b2
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment