added option to hide castbar icon

This commit is contained in:
Sumsebrum 2022-01-12 22:17:28 +01:00
parent d24b330411
commit e5151f1605

View File

@ -423,7 +423,11 @@ function Castbar:CAST_START(unit, spell, icon, value, maxValue, test)
castBar.spark:Show()
end
castBar:SetAlpha(1)
if Gladdy.db.castBarIconEnabled then
castBar.icon:Show()
else
castBar.icon:Hide()
end
end
function Castbar:CAST_STOP(unit, ...)