Skip to content

Commit

Permalink
Canvas class integrated into CanvasSection class
Browse files Browse the repository at this point in the history
  • Loading branch information
Thxios committed Mar 10, 2020
1 parent 3a9be27 commit a61a317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Brush.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def DrawLine(self, x0, y0, x1, y1):
ab = 1 if dy > 0 else -1
error = 0
y = y0
for x in range(x0, x1 + 1):
for x in range(x0 + 1, x1 + 1):
print('x:', x)
self.pencil.OnMouseDown((x, y), self._layer)
print((x, y))
Expand Down

0 comments on commit a61a317

Please sign in to comment.