mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
- when a custom CD bar is set to "when ready" display mode, it will only display an empty bar. therefore, empty should behave like full for the purposes of alpha ooc/target/etc. settings
This commit is contained in:
@ -522,3 +522,11 @@ function IceCustomCDBar.prototype:Show(bShouldShow)
|
|||||||
IceCustomCDBar.super.prototype.Show(self, bShouldShow)
|
IceCustomCDBar.super.prototype.Show(self, bShouldShow)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function IceCustomCDBar.prototype:UseTargetAlpha(scale)
|
||||||
|
if self.moduleSettings.displayMode == "When ready" and scale == 0 then
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
Reference in New Issue
Block a user