local function onUpdate(bar)
if not bar:IsShown() then return end
local width = bar.icon:IsShown() and bar.cast.width or bar.cast.width; -- TODO fullwidth
local function onUpdate(bar)
if not bar:IsShown() then return end
local width = bar.icon:IsShown() and bar.cast.width or bar.cast.width; -- TODO fullwidth