Add a "No Stance/Form" toggle to the visibility driver options, to hide a bar when in stance 0 (no form).
This commit is contained in:
@@ -160,6 +160,10 @@ local stanceClasses = {
|
||||
local function getStanceTable()
|
||||
local tbl = {}
|
||||
|
||||
if class ~= "WARRIOR" then
|
||||
tbl[0] = L["No Stance/Form"]
|
||||
end
|
||||
|
||||
local num = GetNumShapeshiftForms()
|
||||
for i = 1, num do
|
||||
tbl[i] = select(2, GetShapeshiftFormInfo(i))
|
||||
|
||||
Reference in New Issue
Block a user