mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- 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
This commit is contained in:
@ -221,6 +221,7 @@ function IceCore.prototype:Enable(userToggle)
|
|||||||
if self.settings.updatePeriod == nil then
|
if self.settings.updatePeriod == nil then
|
||||||
self.settings.updatePeriod = 0.033
|
self.settings.updatePeriod = 0.033
|
||||||
end
|
end
|
||||||
|
self.settings.updatePeriod = IceHUD:Clamp(self.settings.updatePeriod, 0, 0.067)
|
||||||
|
|
||||||
self:RedirectRemovedModules()
|
self:RedirectRemovedModules()
|
||||||
|
|
||||||
|
@ -612,7 +612,7 @@ Expand "|cffffdc42Module Settings|r", expand PlayerInfo (or TargetInfo for targe
|
|||||||
set = function(info, v)
|
set = function(info, v)
|
||||||
IceHUD.IceCore:SetUpdatePeriod(1/v)
|
IceHUD.IceCore:SetUpdatePeriod(1/v)
|
||||||
end,
|
end,
|
||||||
min = 5,
|
min = 15,
|
||||||
max = 60,
|
max = 60,
|
||||||
step = 1,
|
step = 1,
|
||||||
order = 97
|
order = 97
|
||||||
|
Reference in New Issue
Block a user