target-debufftimer: fix flickering issue

This commit is contained in:
gashole
2024-01-21 01:50:36 +01:00
committed by Shagu
parent 18968a5ddd
commit 4ec2494fc6
+1 -1
View File
@@ -81,8 +81,8 @@ module.enable = function(self)
if button and effect and duration and timeleft then
local start = GetTime() + timeleft - duration
CooldownFrame_SetTimer(button.cd, start, duration, 1)
CreateTextCooldown(button.cd)
CooldownFrame_SetTimer(button.cd, start, duration, 1)
button.cd.readable.start = start
button.cd.readable.duration = duration
button.cd.readable:Show()