Clear canvas when at the end
This commit is contained in:
parent
674d050ca1
commit
25a5266dce
|
@ -68,6 +68,7 @@ while True:
|
||||||
if i >= x_right:
|
if i >= x_right:
|
||||||
i = 0
|
i = 0
|
||||||
prev_x = prev_y = last_x = last_y = 0
|
prev_x = prev_y = last_x = last_y = 0
|
||||||
|
canvas.delete('all')
|
||||||
else: i += 1
|
else: i += 1
|
||||||
|
|
||||||
# tell thread we're done. wait for thread to exit
|
# tell thread we're done. wait for thread to exit
|
||||||
|
|
Loading…
Reference in New Issue