diff options
Diffstat (limited to 'TurtleArt/tacanvas.py')
-rw-r--r-- | TurtleArt/tacanvas.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleArt/tacanvas.py b/TurtleArt/tacanvas.py index 72c1c7d..8870579 100644 --- a/TurtleArt/tacanvas.py +++ b/TurtleArt/tacanvas.py @@ -588,7 +588,8 @@ class TurtleGraphics: """ Read the pixel at x, y """ if self.tw.interactive_mode: return self.canvas.get_pixel((self.width / 2 + int(self.xcor), - self.height / 2 - int(self.ycor))) + self.height / 2 - int(self.ycor)), + 0, self.tw.color_mode) else: return(-1, -1, -1, -1) |