Default line width should be 1
This commit is contained in:
parent
dc11efd60a
commit
bfe1ab8ee0
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user