WeakAuras

WeakAuras

206M Downloads

Make "Hide Timer Text" modifiable in Conditions

Tharre opened this issue ยท 0 comments

commented

Is your feature request related to a problem? Please describe.
It's sometimes desirable to conditionally hide text on an icon WA that shows the progress of a cooldown, for example. However if that text is instead supplied by blizzards built-in cooldown functionality or omniCC the option to hide/show this as a property change under conditions is missing.

Describe the solution you'd like
Simply add a property change under conditions that enables/disables the "Hide Timer Text" options that already exists.

Describe alternatives you've considered
It's possible to achieve the same result with custom lua, more or less copying the code WAs already uses:

aura_env.region.cooldown:SetHideCountdownNumbers(true);
if OmniCC and OmniCC.Cooldown and OmniCC.Cooldown.SetNoCooldownCount then
    OmniCC.Cooldown.SetNoCooldownCount(aura_env.region.cooldown, true)
end

Alternatively one could just use the normal text feature with %p. But then you have at least 2 places where you configure how your cooldown numbers look&feel and getting them to match and keeping them in sync is frustrating.