From 3a39eb1179cbda3a9cc22138b33e2a3f68760ea1 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 1 Nov 2014 15:32:14 +0100 Subject: [PATCH] Make sure we update the sizes properly on load --- oUF_P3lim.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index f81167c..541909c 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -41,8 +41,8 @@ local function PostUpdateCast(element, unit) end end -local function PostUpdateClassIcon(element, cur, max, diff) - if(diff) then +local function PostUpdateClassIcon(element, cur, max, diff, event) + if(diff or event == 'ClassPowerEnable') then for index = 1, max do local ClassIcon = element[index] if(max == 3) then -- 1.7.9.5