Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/Classes/CalcBreakdownControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -689,10 +689,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
Expand Down
10 changes: 10 additions & 0 deletions src/Classes/Tooltip.lua.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff a/src/Classes/Tooltip.lua b/src/Classes/Tooltip.lua (rejected hunks)
@@ -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