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