X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/306a5758edfa15a3005853642548eb57a4fba236..19b1609e82debe7790ea5ce6523c4753ea6b7104:/kehys/frame.lua diff --git a/kehys/frame.lua b/kehys/frame.lua index 2409d26..a723f47 100644 --- a/kehys/frame.lua +++ b/kehys/frame.lua @@ -42,6 +42,7 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, f:Hide(); -- hide frame to have an initial frame:OnShow call f:SetWidth(width); f:SetHeight(height); + f.barwidth = width - 2; -- 1px padding on both sides f:SetAttribute("unit", unit); f.unit = unit; f.displayed = unit; @@ -50,7 +51,7 @@ function addon.NewRaidFrame(parent, width, height, unit, attributes, -- set up periodic updates updaters[f] = function() if f.updating then - CTimerAfter(0.25, updaters[f]); + CTimerAfter(0.1, updaters[f]); return update(f) end end