From 8808dacab8fe68e687888c8ccf2429861c8cc70f Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 5 Dec 2020 12:39:52 +0100 Subject: [PATCH] unitframes: reposition debuffs on full events --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index b1045761..539a62d6 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -1376,7 +1376,7 @@ function pfUI.uf:RefreshUnit(unit, component) af = "TOPRIGHT" end - local buffrow, reposition = 0, nil + local buffrow, reposition = 0, ( component == "all" and true or nil ) if unit.config.buffs == unit.config.debuffs then if unit.buffs[0*bperrow+1] and unit.buffs[0*bperrow+1]:IsShown() then buffrow = buffrow + 1 end if unit.buffs[1*bperrow+1] and unit.buffs[1*bperrow+1]:IsShown() then buffrow = buffrow + 1 end