Fix VGrip1Ratio error that occurs when completing a drag and Omen incorrectly attempts to hide itself.

This commit is contained in:
Xinhuan
2008-10-17 08:28:11 +08:00
parent 89d02500e6
commit c3b683e887
+1 -1
View File
@@ -369,7 +369,7 @@ function Omen:CreateFrames()
end
end)
self.Grip:SetScript("OnMouseUp", function(self)
if Omen.Anchor.IsMovingOrSizing then
if Omen.Anchor.IsMovingOrSizing == 2 then
Omen.Anchor:SetScript("OnSizeChanged", nil)
Omen.Anchor:StopMovingOrSizing()
sizing()