ad5b150 - Add buff indicator and clear all indicators at start of fight
[wowui.git] / kehys / updater.lua
index 05696d3..8083a93 100644 (file)
@@ -133,6 +133,12 @@ function addon.FrameUpdate(frame)
         elseif frame.stack:IsShown() then
             frame.stack:Hide();
         end
         elseif frame.stack:IsShown() then
             frame.stack:Hide();
         end
+        -- custom buff indicator 1
+        if next(frame.buff1) then
+            if not frame.buffind1:IsShown() then frame.buffind1:Show() end
+        elseif frame.buffind1:IsShown() then
+            frame.buffind1:Hide();
+        end
         -- overlays
         if next(frame.alert) then
             -- major
         -- overlays
         if next(frame.alert) then
             -- major