mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- set all bars to animate by default
- forced animation off for cast and mirror bars - made a change to the toc for a curse/wowinterface update
This commit is contained in:
@ -72,7 +72,7 @@ function IceBarElement.prototype:GetDefaultSettings()
|
||||
settings["lowerText"] = ''
|
||||
settings["textVerticalOffset"] = -1
|
||||
settings["textHorizontalOffset"] = 0
|
||||
settings["shouldAnimate"] = false
|
||||
settings["shouldAnimate"] = true
|
||||
settings["desiredLerpTime"] = 0.2
|
||||
settings["barVisible"] = {bg = true, bar = true}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
## Name: IceHUD
|
||||
## Title: IceHUD |cff7fff7f -Ace2-|r
|
||||
## Notes: Another HUD addon
|
||||
## Version: 1.1 ($Revision$)
|
||||
## Version: 1.2 ($Revision$)
|
||||
## SavedVariables: IceCoreDB
|
||||
## OptionalDeps: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, MobHealth, Deformat-2.0, LibDogTag-2.0
|
||||
## X-Embeds: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, Deformat-2.0, LibDogTag-2.0
|
||||
|
@ -26,6 +26,7 @@ function CastBar.prototype:GetDefaultSettings()
|
||||
settings["flashFailures"] = "Caster"
|
||||
settings["lagAlpha"] = 0.7
|
||||
settings["showBlizzCast"] = false
|
||||
settings["shouldAnimate"] = false
|
||||
|
||||
return settings
|
||||
end
|
||||
|
@ -26,6 +26,7 @@ function MirrorBar.prototype:init(side, offset, name, db)
|
||||
self.moduleSettings.side = side
|
||||
self.moduleSettings.offset = offset
|
||||
self.moduleSettings.barVisible = {bar = true, bg = true}
|
||||
self.moduleSettings.shouldAnimate = false
|
||||
|
||||
-- unregister the event superclass registered, we don't want to register
|
||||
-- this to the core
|
||||
@ -175,13 +176,16 @@ end
|
||||
|
||||
function MirrorBarHandler.prototype:GetDefaultSettings()
|
||||
local settings = MirrorBarHandler.super.prototype.GetDefaultSettings(self)
|
||||
|
||||
settings["side"] = IceCore.Side.Left
|
||||
settings["offset"] = 3
|
||||
settings["barFontSize"] = 13
|
||||
settings["barFontBold"] = true
|
||||
settings["lockTextAlpha"] = true
|
||||
settings["shouldAnimate"] = false
|
||||
settings["textVisible"] = {upper = true, lower = true}
|
||||
settings["barVisible"] = {bg = true, bar = true}
|
||||
|
||||
return settings
|
||||
end
|
||||
|
||||
|
@ -15,10 +15,13 @@ end
|
||||
-- OVERRIDE
|
||||
function TargetCast.prototype:GetDefaultSettings()
|
||||
local settings = TargetCast.super.prototype.GetDefaultSettings(self)
|
||||
|
||||
settings["side"] = IceCore.Side.Right
|
||||
settings["offset"] = 3
|
||||
settings["flashInstants"] = "Never"
|
||||
settings["flashFailures"] = "Never"
|
||||
settings["shouldAnimate"] = false
|
||||
|
||||
return settings
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user