mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- removed check for shouldHideBarRotation, since all bars can now be rotated.
This commit is contained in:
@ -487,29 +487,27 @@ do
|
||||
values = IceHUD.validBarList,
|
||||
order = 30.08
|
||||
}
|
||||
if not self.moduleSettings.shouldHideBarRotation then
|
||||
opts["barRotate"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = L["Rotate 90 degrees"],
|
||||
desc = L["This will rotate this module by 90 degrees to give a horizontal orientation.\n\nWARNING: This feature is brand new and a bit rough around the edges. You will need to greatly adjust the vertical and horizontal offset of this bar plus move the text around in order for it to look correct.\n\nAnd I mean greatly."],
|
||||
get = function(info)
|
||||
return self.moduleSettings.rotateBar
|
||||
end,
|
||||
set = function(info, v)
|
||||
self.moduleSettings.rotateBar = v
|
||||
if v then
|
||||
self:RotateHorizontal()
|
||||
else
|
||||
self:ResetRotation()
|
||||
end
|
||||
end,
|
||||
disabled = function()
|
||||
return not self:IsEnabled()
|
||||
end,
|
||||
order = 30.09
|
||||
}
|
||||
end
|
||||
opts["barRotate"] =
|
||||
{
|
||||
type = 'toggle',
|
||||
name = L["Rotate 90 degrees"],
|
||||
desc = L["This will rotate this module by 90 degrees to give a horizontal orientation.\n\nWARNING: This feature is brand new and a bit rough around the edges. You will need to greatly adjust the vertical and horizontal offset of this bar plus move the text around in order for it to look correct.\n\nAnd I mean greatly."],
|
||||
get = function(info)
|
||||
return self.moduleSettings.rotateBar
|
||||
end,
|
||||
set = function(info, v)
|
||||
self.moduleSettings.rotateBar = v
|
||||
if v then
|
||||
self:RotateHorizontal()
|
||||
else
|
||||
self:ResetRotation()
|
||||
end
|
||||
end,
|
||||
disabled = function()
|
||||
return not self:IsEnabled()
|
||||
end,
|
||||
order = 30.09
|
||||
}
|
||||
opts["textSettings"] =
|
||||
{
|
||||
type = 'group',
|
||||
|
@ -34,7 +34,6 @@ function CastBar.prototype:GetDefaultSettings()
|
||||
settings["hideAnimationSettings"] = true
|
||||
settings["usesDogTagStrings"] = false
|
||||
settings["rangeColor"] = true
|
||||
settings["shouldHideBarRotation"] = false
|
||||
settings["bAllowExpand"] = false
|
||||
|
||||
return settings
|
||||
|
@ -45,7 +45,6 @@ function EclipseBar.prototype:GetDefaultSettings()
|
||||
color = {r=1, g=0, b=0, a=1},
|
||||
height = 6,
|
||||
}
|
||||
defaults.shouldHideBarRotation = false
|
||||
defaults.bAllowExpand = false
|
||||
|
||||
return defaults
|
||||
|
Reference in New Issue
Block a user