Commit 73b9b667 authored by Martin v. Löwis's avatar Martin v. Löwis

Update Canvas before computing width. Draw turtle at end of drawing circle.

Fixes #612595. Will backport to 2.2.
parent a6026c6a
......@@ -24,6 +24,7 @@ class RawPen:
def reset(self):
canvas = self._canvas
self._canvas.update()
width = canvas.winfo_width()
height = canvas.winfo_height()
if width <= 1:
......@@ -198,6 +199,7 @@ class RawPen:
self._position = x1, y1
if self._filling:
self._path.append(self._position)
self._draw_turtle()
def goto(self, *args):
if len(args) == 1:
......
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