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.

This commit is contained in:
Xinhuan 2008-12-16 17:21:58 +08:00
parent 1be205d8de
commit dcf493fe7d

View file

@ -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