Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tacanvas.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tacanvas.py')
-rw-r--r--TurtleArt/tacanvas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tacanvas.py b/TurtleArt/tacanvas.py
index fd7b809..c527f0e 100644
--- a/TurtleArt/tacanvas.py
+++ b/TurtleArt/tacanvas.py
@@ -571,8 +571,8 @@ class TurtleGraphics:
x, y = self.width / 2 + int(self.xcor), \
self.height / 2 - int(self.ycor)
self.tw.active_turtle.move(
- (self.cx + x - self.tw.active_turtle.spr.rect.width/2,
- self.cy + y - self.tw.active_turtle.spr.rect.height/2))
+ (int(self.cx + x - self.tw.active_turtle.spr.rect.width/2),
+ int(self.cy + y - self.tw.active_turtle.spr.rect.height/2)))
def invalt(self, x, y, w, h):
""" Mark a region for refresh """