default to not even border

This commit is contained in:
Mikayla Fischler
2022-06-16 11:31:52 -04:00
parent ea9e9288f7
commit 6980e73658
3 changed files with 4 additions and 4 deletions

View File

@@ -43,13 +43,13 @@ graphics.TEXT_ALIGN = {
-- create a new border definition
---@param width integer border width
---@param color color border color
---@param even boolean whether to pad width extra to account for rectangular pixels
---@param even? boolean whether to pad width extra to account for rectangular pixels, defaults to false
---@return graphics_border
function graphics.border(width, color, even)
return {
width = width,
color = color,
even = even
even = even or false -- convert nil to false
}
end