Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Oct 23, 2023
1 parent 847ba22 commit 9db950c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions AzeriteUI/Components/ActionBars/Elements/PetBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ end

local onEnter = function(self)
self.icon.darken:SetAlpha(0)
-- Obey tooltip options if the tooltip module is enabled.
local tooltips = ns:GetModule("Tooltips", true)
if (tooltips and tooltips:IsEnabled() and tooltips.db.profile.hideInCombat and tooltips.db.profile.hideActionBarTooltipsInCombat and InCombatLockdown()) then
return
Expand Down
1 change: 1 addition & 0 deletions AzeriteUI/Components/ActionBars/Elements/StanceBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ end

local onEnter = function(self)
self.icon.darken:SetAlpha(0)
-- Obey tooltip options if the tooltip module is enabled.
local tooltips = ns:GetModule("Tooltips", true)
if (tooltips and tooltips:IsEnabled() and tooltips.db.profile.hideInCombat and tooltips.db.profile.hideActionBarTooltipsInCombat and InCombatLockdown()) then
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ns.ActionButtons = {}
ns.ActionButton = {}

local onEnter = function(self)
-- Obey tooltip options if the tooltip module is enabled.
local tooltips = ns:GetModule("Tooltips", true)
if (tooltips and tooltips:IsEnabled() and tooltips.db.profile.hideInCombat and tooltips.db.profile.hideActionBarTooltipsInCombat and InCombatLockdown()) then
return
Expand Down

0 comments on commit 9db950c

Please sign in to comment.