option tweaks
This commit is contained in:
@@ -48,6 +48,7 @@ end
|
||||
|
||||
function Bartender4:CombatLockdown()
|
||||
self:Lock()
|
||||
LibStub("AceConfigDialog-3.0"):Close("Bartender4")
|
||||
end
|
||||
|
||||
function Bartender4:ToggleLock()
|
||||
|
||||
@@ -148,6 +148,7 @@ function Bartender4:SetupOptions()
|
||||
|
||||
LibStub("AceConfig-3.0"):RegisterOptionsTable("Bartender4", self.options, "bttest")
|
||||
local optFunc = function()
|
||||
if InCombatLockdown() then return end
|
||||
AceConfigDialog:Open("Bartender4")
|
||||
--[[
|
||||
local status = AceConfigDialog:GetStatusTable("Bartender4")
|
||||
|
||||
@@ -53,6 +53,10 @@ function StanceBarMod:SetupOptions()
|
||||
ActionBars.options.args["stance"].args = self.options.table
|
||||
end
|
||||
|
||||
function StanceBarMod:ApplyConfig()
|
||||
self.bar:ApplyConfig(self.db.profile)
|
||||
end
|
||||
|
||||
function StanceButtonPrototype:Update()
|
||||
if not self:IsShown() then return end
|
||||
local id = self:GetID()
|
||||
|
||||
Reference in New Issue
Block a user