Kaydet (Commit) 21c5c8fa authored tarafından Guido van Rossum's avatar Guido van Rossum

Correct off-by-two-pixels error.

üst d14c0681
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment