BulwarkFrame v0.2.0
This commit is contained in:
@@ -434,6 +434,12 @@ local function BuildPanel()
|
||||
this:SetText(on and "Demo: on" or "Demo")
|
||||
end)
|
||||
demoBtn:SetPoint("BOTTOMLEFT", panel, "BOTTOMLEFT", 24, 20)
|
||||
-- The one stateful widget that had no refresher, unlike modeBtn and setBtn above: demo mode can
|
||||
-- also be toggled from '/bulwark demo', and without this the button kept whatever label it last
|
||||
-- set itself -- reading "Demo" over a running demo, or "Demo: on" over a live readout.
|
||||
table.insert(refreshers, function()
|
||||
demoBtn:SetText(BF.IsDemo() and "Demo: on" or "Demo")
|
||||
end)
|
||||
|
||||
local probeBtn = CreateButton(panel, "Probe", "Dump the live aura/weapon data we still need "
|
||||
.. "(also /bulwark probe).", function() BF.RunProbe() end)
|
||||
|
||||
Reference in New Issue
Block a user