Skip to content

Commit a540074

Browse files
author
david allen
committed
Cleaned up rect drawing for clarity.
1 parent 12608f5 commit a540074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HelloWorld_pygame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def drawRectangle():
8484
# draw rect outline
8585
color = Color(63, 63, 127)
8686
stroke = 5
87-
pygame.draw.rect(win_sfc, color, rect, width = stroke)
87+
pygame.draw.rect(win_sfc, color, rect, stroke)
8888

8989
pass
9090
# ---------------------------------------------------------------------

0 commit comments

Comments
 (0)