mirror of https://github.com/python/cpython
#3950 fix missing scale factors in turtle.py
reviewers: Georg, Benjamin
This commit is contained in:
parent
a85c95d5e8
commit
52d52f185a
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue