diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-06-14 17:03:06 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-06-14 17:03:06 (GMT) |
commit | 25462dc60eadc4e77c89a51219e98d52baa94472 (patch) | |
tree | c11ff76491721fb607d2885bd60088b7e512a0cc | |
parent | 0f87108c89e9a74cee423d2712b7a7d1164d1cd6 (diff) |
reposition artwork to -2.5, -2.5 to compensate for stroke width (5)
-rw-r--r-- | TurtleConfusionActivity.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleConfusionActivity.py b/TurtleConfusionActivity.py index 0d5b0b9..8d3849a 100644 --- a/TurtleConfusionActivity.py +++ b/TurtleConfusionActivity.py @@ -936,7 +936,8 @@ class TurtleConfusionActivity(activity.Activity): filepath=os.path.join( activity.get_bundle_path(), 'images', 'turtle-a.png')) - self.tw.canvas.setxy(0, 0, pendown=False) + # Slight offset to account for line thickness + self.tw.canvas.setxy(-2.5, -2.5, pendown=False) self.tw.lc.insert_image(center=False, filepath=os.path.join( activity.get_bundle_path(), 'challenges', |