This commit is contained in:
Logan Payton
2018-03-28 19:24:54 -04:00
parent b35303f941
commit 21bedd6fbb
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -559,7 +559,7 @@ function E:SetupLayout(layout, noDataReset)
E.db.unitframe.units.arena.castbar.width = 200
end
if(layout == "dpsCaster" or layout == "healer" or (layout == "dpsMelee" and E.myclass == "HUNTER")) then
if layout == "dpsCaster" or layout == "healer" or (layout == "dpsMelee" and E.myclass == "HUNTER") then
if not E.db.movers then E.db.movers = {} end
E.db.unitframe.units.player.castbar.width = E.PixelMode and 406 or 436
E.db.unitframe.units.player.castbar.height = 28
@@ -691,7 +691,7 @@ local function SetupAuras(style)
E:GetModule("UnitFrames"):CreateAndUpdateUF("target")
end
if(InstallStepComplete) then
if InstallStepComplete then
InstallStepComplete.message = L["Auras Set"]
InstallStepComplete:Show()
end
+2 -1
View File
@@ -119,6 +119,7 @@ function UF:Configure_Auras(frame, auraType)
if not frame.VARIABLES_SET then return end
local db = frame.db
print(format("DEBUG: UF:Configure_Auras(%s, %s)", frame:GetName(), auraType))
local auras = frame[auraType]
auraType = lower(auraType)
local rows = db[auraType].numrows
@@ -372,7 +373,7 @@ function UF:PostUpdateAura(unit, button)
end
if button.isDebuff then
if(not button.isFriend and not button.isPlayer) then --[[and (not E.isDebuffWhiteList[name])]]
if not button.isFriend and not button.isPlayer then --[[and (not E.isDebuffWhiteList[name])]]
button:SetBackdropBorderColor(0.9, 0.1, 0.1)
button.icon:SetDesaturated((unit and not find(unit, "arena%d")) and true or false)
else