diff --git a/Modules/Healthbar.lua b/Modules/Healthbar.lua index 7889f66..9e06a9e 100644 --- a/Modules/Healthbar.lua +++ b/Modules/Healthbar.lua @@ -464,13 +464,6 @@ function Healthbar:GetOptions() dialogControl = "LSM30_Statusbar", values = AceGUIWidgetLSMlists.statusbar, }), - healthBarBgColor = Gladdy:colorOption({ - type = "color", - name = L["Background color"], - desc = L["Color of the status bar background"], - order = 5, - hasAlpha = true, - }), }, }, barColor = { @@ -485,7 +478,7 @@ function Healthbar:GetOptions() }, healthBarClassColored = Gladdy:option({ type = "toggle", - name = L["Class colored health bar"], + name = L["Class colored"] .. " " .. L["Health Bar"], order = 2, width = "full", }), @@ -495,31 +488,43 @@ function Healthbar:GetOptions() order = 3, hasAlpha = true, }), + healthBarBgColor = Gladdy:colorOption({ + type = "color", + name = L["Background color"], + desc = L["Color of the status bar background"], + order = 4, + hasAlpha = true, + }), + headerAuras = { + type = "header", + name = L["Custom Colors"], + order = 10, + }, healthBarColoredByCurrentHp = Gladdy:option({ type = "toggle", - name = L["healthBarColoredByCurrentHp"], - order = 4, + name = L["Enable Custom Colors"], + order = 11, width = "full", disabled = function() return Gladdy.db.healthBarClassColored end, }), healthBarStatusBarColorMax = Gladdy:colorOption({ type = "color", name = L["100%"], - order = 5, + order = 12, hasAlpha = false, disabled = function() return Gladdy.db.healthBarClassColored end, }), healthBarStatusBarColorMid = Gladdy:colorOption({ type = "color", name = L["50%"], - order = 6, + order = 13, hasAlpha = false, disabled = function() return Gladdy.db.healthBarClassColored end, }), healthBarStatusBarColorMin = Gladdy:colorOption({ type = "color", name = L["0%"], - order = 7, + order = 14, hasAlpha = false, disabled = function() return Gladdy.db.healthBarClassColored end, }),