From b861c785fb900c5dba90c0ea697b8fec591487cc Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Sat, 13 Jun 2026 00:21:19 +0300 Subject: [PATCH 1/2] Change border size to be 1 px --- src/Classes/Tooltip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/Tooltip.lua b/src/Classes/Tooltip.lua index 0875bfdff1..55147ae08d 100644 --- a/src/Classes/Tooltip.lua +++ b/src/Classes/Tooltip.lua @@ -11,7 +11,7 @@ local s_gmatch = string.gmatch -- Constants -local BORDER_WIDTH = 3 +local BORDER_WIDTH = 1 local H_PAD = 12 local V_PAD = 10 -- spell-checker: disable From f923cda8d60df1c283d5f9b30617f337aeffe00b Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Sat, 13 Jun 2026 01:34:26 +0300 Subject: [PATCH 2/2] Clarify border code in calcbreakdowncontrol --- src/Classes/CalcBreakdownControl.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Classes/CalcBreakdownControl.lua b/src/Classes/CalcBreakdownControl.lua index c78f279adc..a62226e6c6 100644 --- a/src/Classes/CalcBreakdownControl.lua +++ b/src/Classes/CalcBreakdownControl.lua @@ -698,10 +698,11 @@ function CalcBreakdownClass:Draw(viewPort) else SetDrawColor(0.33, 0.66, 0.33) end - DrawImage(nil, x, y, width, 2) - DrawImage(nil, x, y + height - 2, width, 2) - DrawImage(nil, x, y, 2, height) - DrawImage(nil, x + width - 2, y, 2, height) + local borderThickness = 2 + DrawImage(nil, x, y, width, borderThickness) + DrawImage(nil, x, y + height - borderThickness, width, borderThickness) + DrawImage(nil, x, y, borderThickness, height) + DrawImage(nil, x + width - borderThickness, y, borderThickness, height) SetDrawLayer(nil, 10) self:DrawControls(viewPort) -- Draw the sections