mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
#3950 fix missing scale factors in turtle.py
reviewers: Georg, Benjamin
This commit is contained in:
parent
a85c95d5e8
commit
52d52f185a
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue