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,6 +24,7 @@ function TargetTargetCast.prototype:GetDefaultSettings()
|
||||
settings["flashInstants"] = "Never"
|
||||
settings["flashFailures"] = "Never"
|
||||
settings["shouldAnimate"] = false
|
||||
settings["hideAnimationSettings"] = true
|
||||
settings["usesDogTagStrings"] = false
|
||||
settings["enabled"] = false
|
||||
settings["barVerticalOffset"] = 35
|
||||
@ -43,7 +44,7 @@ end
|
||||
|
||||
function TargetTargetCast.prototype:Disable(core)
|
||||
TargetTargetCast.super.prototype.Disable(self, core)
|
||||
|
||||
|
||||
self:CancelTimer(self.scheduledEvent, true)
|
||||
end
|
||||
|
||||
@ -52,7 +53,7 @@ function TargetTargetCast.prototype:UpdateTargetTarget()
|
||||
self:StopBar()
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
if self.moduleSettings.selfDisplayMode == "Hide" and UnitIsUnit("player", self.unit) then
|
||||
self:StopBar()
|
||||
return
|
||||
@ -77,31 +78,6 @@ end
|
||||
function TargetTargetCast.prototype:GetOptions()
|
||||
local opts = TargetTargetCast.super.prototype.GetOptions(self)
|
||||
|
||||
-- Parnic - this exists solely for the console/rock config to work...animating cast bars doesn't make sense
|
||||
opts["shouldAnimate"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 's',
|
||||
desc = 's',
|
||||
set = 's',
|
||||
get = 's',
|
||||
hidden = function()
|
||||
return true
|
||||
end
|
||||
}
|
||||
|
||||
opts["desiredLerpTime"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = 'd',
|
||||
desc = 'd',
|
||||
set = 'd',
|
||||
get = 'd',
|
||||
hidden = function()
|
||||
return true
|
||||
end
|
||||
}
|
||||
|
||||
opts["barVisible"] = {
|
||||
type = 'toggle',
|
||||
name = 'Bar visible',
|
||||
@ -143,7 +119,7 @@ function TargetTargetCast.prototype:GetOptions()
|
||||
end,
|
||||
order = 29
|
||||
}
|
||||
|
||||
|
||||
opts["selfDisplayMode"] = {
|
||||
type = 'select',
|
||||
name = "Self Display Mode",
|
||||
|
Reference in New Issue
Block a user