Rework some globals to aura_env
This commit is contained in:
@@ -5,7 +5,7 @@ function()
|
||||
if aura_env.config.borderColor then
|
||||
if subregion.type == "subborder" then
|
||||
---@type ClassColor
|
||||
local classColorInfo = ClassColors[aura_env.state.targetClassId]
|
||||
local classColorInfo = aura_env.ClassColors[aura_env.state.targetClassId]
|
||||
if classColorInfo then
|
||||
local color = classColorInfo.color.rgbInt
|
||||
subregion:SetBorderColor(color[1] / 255, color[2] / 255, color[3] / 255, 1)
|
||||
|
||||
Reference in New Issue
Block a user