Default line width should be 1

This commit is contained in:
Matt Low 2020-11-14 22:10:22 +04:00
parent dc11efd60a
commit bfe1ab8ee0

View File

@ -12,7 +12,7 @@ def init():
freetype.init() freetype.init()
FONT = freetype.SysFont('Arial', 16) FONT = freetype.SysFont('Arial', 16)
def line(surface, color, start, end, width=0): def line(surface, color, start, end, width=1):
pygame.draw.line(surface, color, pygame.draw.line(surface, color,
add(*OFFSET, *start), add(*OFFSET, *end), width) add(*OFFSET, *start), add(*OFFSET, *end), width)