svg_tetraflexagon_editor: fix comment
authorAntonio Ospite <ao2@ao2.it>
Wed, 27 Jun 2018 15:38:47 +0000 (17:38 +0200)
committerAntonio Ospite <ao2@ao2.it>
Thu, 28 Jun 2018 14:34:52 +0000 (16:34 +0200)
The comment was copied from the Hexaflexagon example, but here the tiles
are rectangles, not polygons, amend the comment to reflect that.

src/svg_tetraflexagon_editor.py

index 90668e3..6b57160 100755 (executable)
@@ -97,7 +97,7 @@ class SvgwriteTetraflexagonDiagram(TetraflexagonDiagram):
 
         super(SvgwriteTetraflexagonDiagram, self).draw_tile_template(tile, cx, cy, theta)
 
 
         super(SvgwriteTetraflexagonDiagram, self).draw_tile_template(tile, cx, cy, theta)
 
-        # The tile outline in the active group's element is the only polygon
+        # The tile outline in the active group's element is the only rectangle
         # element, so get it and set its id so that it can be reused as
         # a clip-path
         for element in self.backend.active_group.elements:
         # element, so get it and set its id so that it can be reused as
         # a clip-path
         for element in self.backend.active_group.elements: