Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-01-26 17:45:49 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-01-26 17:45:49 (GMT)
commitf4c32488acf610b92aef7ed368d06cc634e46be5 (patch)
treef116f553d2e8a77e98e2e37f784eac60bfe69e76
parent41b317baf9bdcbe3ef947056e273e2f8cff2b6fe (diff)
converting to overlay_shapes
-rw-r--r--TurtleArtActivity.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
index d5b5ed2..18e6f82 100644
--- a/TurtleArtActivity.py
+++ b/TurtleArtActivity.py
@@ -418,18 +418,18 @@ class TurtleArtActivity(activity.Activity):
"""
def _do_cartesian_cb(self, button):
if self.tw.cartesian is True:
- self.tw.cartesian_coordinates_spr.hide()
+ self.tw.overlay_shapes[0].hide()
self.tw.cartesian = False
else:
- self.tw.cartesian_coordinates_spr.set_layer(OVERLAY_LAYER)
+ self.tw.overlay_shapes[0].set_layer(OVERLAY_LAYER)
self.tw.cartesian = True
def _do_polar_cb(self, button):
if self.tw.polar is True:
- self.tw.polar_coordinates_spr.hide()
+ self.tw.overlay_shapes[1].hide()
self.tw.polar = False
else:
- self.tw.polar_coordinates_spr.set_layer(OVERLAY_LAYER)
+ self.tw.overlay_shapes[1].set_layer(OVERLAY_LAYER)
self.tw.polar = True
"""