X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/15537570216afe28cc3a04cd6a41e5fd7ba4cc7f..2ddc77e690e99f5db2d01706ae25e54fc45eba86:/Indicators.lua diff --git a/Indicators.lua b/Indicators.lua index 673ae75..08003a9 100644 --- a/Indicators.lua +++ b/Indicators.lua @@ -122,6 +122,9 @@ end -- Update all indicators function RaidFrameCustomization:UpdateAllIndicators() CompactRaidFrameContainer_ApplyToFrames(CompactRaidFrameContainer, "normal", updateIndicators); + if self.running then + C_Timer.After(0.15, self:UpdateAllIndicators); + end end -- Used to update everything that is affected by the configuration @@ -138,7 +141,8 @@ function RaidFrameCustomization:RefreshConfig() end if next(watchedAuras) ~= nil then - self.updateTimer = self:ScheduleRepeatingTimer("UpdateAllIndicators", 0.15); + self.running = true; + C_Timer.After(0.15, self:UpdateAllIndicators); end end end