From dcf493fe7d0cf3f2984ff7ed178f88d32247e836 Mon Sep 17 00:00:00 2001 From: Xinhuan Date: Tue, 16 Dec 2008 17:21:58 +0800 Subject: [PATCH] Fix Omen getting stuck to the mouse if autocollapse is on and you moved Omen while you are in combat and exited combat during the move. --- Omen.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Omen.lua b/Omen.lua index f6984e5..11cc379 100644 --- a/Omen.lua +++ b/Omen.lua @@ -358,6 +358,7 @@ function Omen:CreateFrames() self.BarList:SetPoint("BOTTOMRIGHT", self.Anchor, "BOTTOMRIGHT") self.BarList:SetScript("OnMouseDown", startmoving) self.BarList:SetScript("OnMouseUp", stopmoving) + self.BarList:SetScript("OnHide", stopmoving) self.BarList.barsShown = 0 -- Create resizing corner grip