Correct off-by-two-pixels error.

This commit is contained in:
Guido van Rossum 1997-08-22 20:56:07 +00:00
parent d14c06819e
commit 21c5c8fa5b
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Tkhanoi:
self.tk.update()
# Move it down on top of the previous piece
pieceheight = y2-y1-2
pieceheight = y2-y1
newbottom = by2 - pieceheight*len(self.pegstate[b]) - 2
while 1:
x1, y1, x2, y2 = c.bbox(p)