mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
actionbar: disable animation on hidden bars
This commit is contained in:
@@ -907,8 +907,10 @@ pfUI:RegisterModule("actionbar", function ()
|
||||
|
||||
if ( pfUI_config.bars.keydown == "1" and keystate == "down" ) or (pfUI_config.bars.keydown == "0" and keystate == "up" ) or bar == 11 then
|
||||
-- trigger animation
|
||||
frame.animation.active = 0
|
||||
frame.animation:Show()
|
||||
if frame:GetAlpha() > 0.1 then
|
||||
frame.animation.active = 0
|
||||
frame.animation:Show()
|
||||
end
|
||||
|
||||
-- clear highlight
|
||||
if not MouseIsOver(frame) then frame.highlight:Hide() end
|
||||
|
||||
Reference in New Issue
Block a user