summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-24 22:11:59 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-09-24 22:11:59 (GMT)
commit52d52f185ab6a7f215e975b13a5bbf3f01bdf3a4 (patch)
tree003265eb2b5c0bdde6d73beb4274519de25a1ec1
parenta85c95d5e85e1d6886d1260b88221c2a31686a55 (diff)
downloadcpython-52d52f185ab6a7f215e975b13a5bbf3f01bdf3a4.zip
cpython-52d52f185ab6a7f215e975b13a5bbf3f01bdf3a4.tar.gz
cpython-52d52f185ab6a7f215e975b13a5bbf3f01bdf3a4.tar.bz2
#3950 fix missing scale factors in turtle.py
reviewers: Georg, Benjamin
-rw-r--r--Lib/lib-tk/turtle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py
index ddc69c9..cd6dbe8 100644
--- a/Lib/lib-tk/turtle.py
+++ b/Lib/lib-tk/turtle.py
@@ -732,7 +732,7 @@ class TurtleScreenBase(object):
"""Configure image item as to draw image object
at position (x,y) on canvas)
"""
- self.cv.coords(item, (x, -y))
+ self.cv.coords(item, (x * self.xscale, -y * self.yscale))
self.cv.itemconfig(item, image=image)
def _setbgpic(self, item, image):