mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- big giant options screen usability cleanup:
- colorized the FAQ and Module Settings description text to be more readable - removed custom coloring from certain options that didn't match the rest - hid a few debug-only settings - consolidated all the 'create custom module' buttons into a drop-down + create button - clarified description of some options so that their intent/purpose is more clear - moved around/cleaned up headers for consistency - doubled the width of long options so that they don't get cut off and ...'d
This commit is contained in:
@ -24,7 +24,7 @@ end
|
||||
-- OVERRIDE
|
||||
function GlobalCoolDown.prototype:Enable(core)
|
||||
GlobalCoolDown.super.prototype.Enable(self, core)
|
||||
|
||||
|
||||
self:RegisterEvent("ACTIONBAR_UPDATE_COOLDOWN", "CooldownStateChanged")
|
||||
|
||||
self.scheduledEvent = self:ScheduleRepeatingTimer("UpdateGlobalCoolDown", 0.05)
|
||||
@ -78,6 +78,7 @@ function GlobalCoolDown.prototype:GetDefaultSettings()
|
||||
settings["side"] = IceCore.Side.Left
|
||||
settings["offset"] = 6
|
||||
settings["shouldAnimate"] = false
|
||||
settings["hideAnimationSettings"] = true
|
||||
settings["desiredLerpTime"] = nil
|
||||
settings["lowThreshold"] = 0
|
||||
settings["barVisible"]["bg"] = false
|
||||
@ -90,12 +91,10 @@ end
|
||||
function GlobalCoolDown.prototype:GetOptions()
|
||||
local opts = GlobalCoolDown.super.prototype.GetOptions(self)
|
||||
|
||||
opts["shouldAnimate"] = nil
|
||||
opts["desiredLerpTime"] = nil
|
||||
opts["lowThreshold"] = nil
|
||||
opts["textSettings"] = nil
|
||||
|
||||
return opts
|
||||
|
||||
return opts
|
||||
end
|
||||
|
||||
-- 'Protected' methods --------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user