#3950 fix missing scale factors in turtle.py

reviewers: Georg, Benjamin
This commit is contained in:
Benjamin Peterson 2008-09-24 22:11:59 +00:00
parent a85c95d5e8
commit 52d52f185a
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ class TurtleScreenBase(object):
"""Configure image item as to draw image object """Configure image item as to draw image object
at position (x,y) on canvas) 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) self.cv.itemconfig(item, image=image)
def _setbgpic(self, item, image): def _setbgpic(self, item, image):