Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/talogo.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-01-27 23:25:04 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-01-27 23:25:04 (GMT)
commita91b6c55f4185be1265a9dee43c14d2bbcffff64 (patch)
treef57594a79af7e3edfdcfa72f1920fd7b3c06bf16 /talogo.py
parent8ff521173bcb6eb073c8413d62a570189ce40d3f (diff)
more *turtle improvements
Diffstat (limited to 'talogo.py')
-rw-r--r--talogo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/talogo.py b/talogo.py
index ef276a1..ae661c6 100644
--- a/talogo.py
+++ b/talogo.py
@@ -618,9 +618,9 @@ def display_coordinates(tw, a=-1, b=-1, d=-1):
if hasattr(tw, "activity"):
if hasattr(tw.activity, "coordinates_label"):
if a==-1 and b==-1 and d == -1:
- x = round_int(tw.turtle.xcor/tw.coord_scale)
- y = round_int(tw.turtle.ycor/tw.coord_scale)
- h = round_int(tw.turtle.heading)
+ x = round_int(tw.canvas.xcor/tw.coord_scale)
+ y = round_int(tw.canvas.ycor/tw.coord_scale)
+ h = round_int(tw.canvas.heading)
else:
x = a
y = b