From 245b70ff43412f707b8d20da276e3cb5ee7fa858 Mon Sep 17 00:00:00 2001 From: Xinhuan Date: Sat, 8 Aug 2009 18:16:22 +0800 Subject: [PATCH] Omen will now update its bars immediately on showing from a hidden state instead of updating on the next threat event. --- Omen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Omen.lua b/Omen.lua index aaaa5a2..d7dbfa5 100644 --- a/Omen.lua +++ b/Omen.lua @@ -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)