From 563e84dfb636c145839fdeec32a2e7408d636a89 Mon Sep 17 00:00:00 2001 From: Damian Nguyen Date: Sun, 2 Aug 2026 04:53:45 +0200 Subject: [PATCH] Update EllesmereUIUnitFrames.lua Make borders of the castbars inherit the bordersize from the parent frame --- EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua b/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua index 6253a5ba..94ad96ec 100644 --- a/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua +++ b/EllesmereUIUnitFrames/EllesmereUIUnitFrames.lua @@ -5533,7 +5533,8 @@ local function CreateCastBar(frame, unit, settings) -- fill texture) so the OVERLAY border sits above the ARTWORK fill. -- Drawing on castbarBg would put the border behind the fill because -- castbar is a child of castbarBg and draws above it. - PP.CreateBorder(castbar, 0, 0, 0, 1, 1, "OVERLAY", 0) + -- Border size is inherited from the frame. + PP.CreateBorder(castbar, 0, 0, 0, 1, settings.borderSize or 0, "OVERLAY", 0) -- Three-zone cast bar text layout matching nameplates: