Omen will now update its bars immediately on showing from a hidden state instead of updating on the next threat event.

This commit is contained in:
Xinhuan
2009-08-08 18:16:22 +08:00
parent 5f69963719
commit 245b70ff43
+1 -1
View File
@@ -347,7 +347,7 @@ function Omen:CreateFrames()
self.Anchor:SetWidth(225)
self.Anchor:SetHeight(150)
self.Anchor:SetScript("OnHide", stopmoving)
self.Anchor:SetScript("OnShow", function(self) db.Shown = true end)
self.Anchor:SetScript("OnShow", function(self) db.Shown = true Omen:UpdateBars() end)
-- Create Title
self.Title = CreateFrame("Button", "OmenTitle", self.Anchor)