Healthbar show nametext when custom tags enabled

This commit is contained in:
Sumsebrum 2022-03-26 18:21:58 +01:00
parent 9afc359b57
commit 6f50bc96ef

View File

@ -210,7 +210,7 @@ function Healthbar:UpdateFrame(unit)
healthBar.nameText:Hide() healthBar.nameText:Hide()
else else
healthBar.nameText:SetFont(Gladdy:SMFetch("font", "healthBarFont"), Gladdy.db.healthBarNameFontSize, Gladdy.db.healthTextLeftOutline and "OUTLINE") healthBar.nameText:SetFont(Gladdy:SMFetch("font", "healthBarFont"), Gladdy.db.healthBarNameFontSize, Gladdy.db.healthTextLeftOutline and "OUTLINE")
if Gladdy.db.healthName then if Gladdy.db.healthName or Gladdy.db.healthCustomTagsEnabled then
healthBar.nameText:Show() healthBar.nameText:Show()
else else
healthBar.nameText:Hide() healthBar.nameText:Hide()