diff options
author | Guido van Rossum <guido@python.org> | 2001-01-01 19:11:07 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-01 19:11:07 +0000 |
commit | c26d9b4d9fafa66da4b3faec91b23d65c79ff7f8 (patch) | |
tree | 618d8624fd4cae7f86a3bbcbd40df96733ac7e0d /Lib/lib-tk | |
parent | 8369815a3d693ee5374b8728f147514050373c0e (diff) | |
download | cpython-c26d9b4d9fafa66da4b3faec91b23d65c79ff7f8.tar.gz |
Patch by kragen@pobox.com: When tracing is turned on, lines shorter
than a pixel don't get drawn at all. If you're building long curves
made of such lines, this is a bad thing.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/turtle.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index 4e73f52eab..dde5725ffb 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -221,6 +221,8 @@ class RawPen: self._canvas.coords(item, x0, y0, x, y) self._canvas.update() self._canvas.after(10) + # in case nhops==0 + self._canvas.coords(item, x0, y0, x1, y1) self._canvas.itemconfigure(item, arrow="none") except Tkinter.TclError: # Probably the window was closed! |