Commit a23056ed authored by Simpy's avatar Simpy 🐹
Browse files

lab update

parent 73115967
......@@ -1466,26 +1466,6 @@ hooksecurefunc("ClearNewActionHighlight", function(action, preventIdenticalActio
ClearNewActionHighlight(action, preventIdenticalActionsFromClearing, nil)
end)
local function UpdateSpellHighlight(self, shown)
if ( shown ) then
self.SpellHighlightTexture:Show();
self.SpellHighlightAnim:Play();
else
self.SpellHighlightTexture:Hide();
self.SpellHighlightAnim:Stop();
end
end
hooksecurefunc("SharedActionButton_RefreshSpellHighlight", function(self)
if ( self.SpellHighlightTexture and self.SpellHighlightAnim ) then
for button in next, ButtonRegistry do
if button._state_type == "action" then
UpdateSpellHighlight(button, GetOnBarHighlightMark(button._state_action))
end
end
end
end)
function UpdateNewAction(self)
-- special handling for "New Action" markers
if self.NewActionTexture then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment