We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b861c78 commit f923cdaCopy full SHA for f923cda
1 file changed
src/Classes/CalcBreakdownControl.lua
@@ -698,10 +698,11 @@ function CalcBreakdownClass:Draw(viewPort)
698
else
699
SetDrawColor(0.33, 0.66, 0.33)
700
end
701
- DrawImage(nil, x, y, width, 2)
702
- DrawImage(nil, x, y + height - 2, width, 2)
703
- DrawImage(nil, x, y, 2, height)
704
- 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)
705
+ DrawImage(nil, x + width - borderThickness, y, borderThickness, height)
706
SetDrawLayer(nil, 10)
707
self:DrawControls(viewPort)
708
-- Draw the sections
0 commit comments