X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/956383a3e90c8f7c79c009e96117e41f2ed9425b..2ddc77e690e99f5db2d01706ae25e54fc45eba86:/Indicators.lua?ds=inline 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