Pet and Stance Bar will now obey the "Disable Tooltip" setting
This commit is contained in:
@@ -15,7 +15,9 @@ local _G = _G
|
||||
local format = string.format
|
||||
|
||||
local function onEnter(self, ...)
|
||||
self:OnEnter(...)
|
||||
if not (Bartender4.db.profile.tooltip == "nocombat" and InCombatLockdown()) and Bartender4.db.profile.tooltip ~= "disabled" then
|
||||
self:OnEnter(...)
|
||||
end
|
||||
KeyBound:Set(self)
|
||||
end
|
||||
|
||||
|
||||
@@ -154,7 +154,9 @@ function StanceButtonPrototype:ClearSetPoint(...)
|
||||
end
|
||||
|
||||
local function onEnter(self, ...)
|
||||
self:OnEnter(...)
|
||||
if not (Bartender4.db.profile.tooltip == "nocombat" and InCombatLockdown()) and Bartender4.db.profile.tooltip ~= "disabled" then
|
||||
self:OnEnter(...)
|
||||
end
|
||||
KeyBound:Set(self)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user