mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
Temp
This commit is contained in:
@@ -559,7 +559,7 @@ function E:SetupLayout(layout, noDataReset)
|
|||||||
E.db.unitframe.units.arena.castbar.width = 200
|
E.db.unitframe.units.arena.castbar.width = 200
|
||||||
end
|
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
|
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.width = E.PixelMode and 406 or 436
|
||||||
E.db.unitframe.units.player.castbar.height = 28
|
E.db.unitframe.units.player.castbar.height = 28
|
||||||
@@ -691,7 +691,7 @@ local function SetupAuras(style)
|
|||||||
E:GetModule("UnitFrames"):CreateAndUpdateUF("target")
|
E:GetModule("UnitFrames"):CreateAndUpdateUF("target")
|
||||||
end
|
end
|
||||||
|
|
||||||
if(InstallStepComplete) then
|
if InstallStepComplete then
|
||||||
InstallStepComplete.message = L["Auras Set"]
|
InstallStepComplete.message = L["Auras Set"]
|
||||||
InstallStepComplete:Show()
|
InstallStepComplete:Show()
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ function UF:Configure_Auras(frame, auraType)
|
|||||||
if not frame.VARIABLES_SET then return end
|
if not frame.VARIABLES_SET then return end
|
||||||
local db = frame.db
|
local db = frame.db
|
||||||
|
|
||||||
|
print(format("DEBUG: UF:Configure_Auras(%s, %s)", frame:GetName(), auraType))
|
||||||
local auras = frame[auraType]
|
local auras = frame[auraType]
|
||||||
auraType = lower(auraType)
|
auraType = lower(auraType)
|
||||||
local rows = db[auraType].numrows
|
local rows = db[auraType].numrows
|
||||||
@@ -372,7 +373,7 @@ function UF:PostUpdateAura(unit, button)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if button.isDebuff then
|
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:SetBackdropBorderColor(0.9, 0.1, 0.1)
|
||||||
button.icon:SetDesaturated((unit and not find(unit, "arena%d")) and true or false)
|
button.icon:SetDesaturated((unit and not find(unit, "arena%d")) and true or false)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user