From d35537b683243cc17c0331600f3211447ceed02d Mon Sep 17 00:00:00 2001 From: Logan Payton Date: Wed, 28 Mar 2018 19:24:54 -0400 Subject: [PATCH] Temp --- ElvUI/Core/install.lua | 4 ++-- ElvUI/Modules/UnitFrames/Elements/Auras.lua | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ElvUI/Core/install.lua b/ElvUI/Core/install.lua index 449c2f7..ef3d4be 100644 --- a/ElvUI/Core/install.lua +++ b/ElvUI/Core/install.lua @@ -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 diff --git a/ElvUI/Modules/UnitFrames/Elements/Auras.lua b/ElvUI/Modules/UnitFrames/Elements/Auras.lua index cb438c0..b66dc7e 100644 --- a/ElvUI/Modules/UnitFrames/Elements/Auras.lua +++ b/ElvUI/Modules/UnitFrames/Elements/Auras.lua @@ -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