From 7b28cae101448f73be5e09646a9cab1179494f0d Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sun, 22 Feb 2009 10:08:58 +0100 Subject: [PATCH] Fix FadeOut, we need to check if the mouse is over the Overlay now, and not the actual bar. --- Bar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bar.lua b/Bar.lua index e5c5b5f..c5c67f0 100644 --- a/Bar.lua +++ b/Bar.lua @@ -371,10 +371,10 @@ function Bar:SetFadeOutDelay(delay) end function Bar:ControlFadeOut() - if self.faded and MouseIsOver(self) then + if self.faded and MouseIsOver(self.overlay) then self:SetAlpha(self.config.alpha) self.faded = nil - elseif not self.faded and not MouseIsOver(self) then + elseif not self.faded and not MouseIsOver(self.overlay) then local fade = self:GetAttribute("fade") if tonumber(fade) then fade = min(max(fade, 0), 100) / 100