From e7c8c78cb7a5ba338dd23c6a52dadc32e3b9f7d5 Mon Sep 17 00:00:00 2001 From: Parnic Date: Fri, 5 Nov 2010 05:18:14 +0000 Subject: [PATCH] - set the minimum update frequency to 0.067 (15 per second) because anything less just looks awful - clamped the update frequency on every load to force it to >= 15 --- IceCore.lua | 1 + IceHUD_Options/Options.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/IceCore.lua b/IceCore.lua index 71bc61f..832cd09 100644 --- a/IceCore.lua +++ b/IceCore.lua @@ -221,6 +221,7 @@ function IceCore.prototype:Enable(userToggle) if self.settings.updatePeriod == nil then self.settings.updatePeriod = 0.033 end + self.settings.updatePeriod = IceHUD:Clamp(self.settings.updatePeriod, 0, 0.067) self:RedirectRemovedModules() diff --git a/IceHUD_Options/Options.lua b/IceHUD_Options/Options.lua index a989355..0ea7b8a 100644 --- a/IceHUD_Options/Options.lua +++ b/IceHUD_Options/Options.lua @@ -612,7 +612,7 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe set = function(info, v) IceHUD.IceCore:SetUpdatePeriod(1/v) end, - min = 5, + min = 15, max = 60, step = 1, order = 97