diff options
author | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-09-01 17:12:27 (GMT) |
---|---|---|
committer | Cristhofer Travieso <cristhofert97@gmail.com> | 2012-09-01 17:12:27 (GMT) |
commit | 726b7587c36fe3db2d2dd0e243061489a6bb1a15 (patch) | |
tree | 657a7f8ecd361f52d65c5e1c728837f77d97ce2e | |
parent | cbb8b7299ce02b1304e00e840c98017367f1b820 (diff) |
Reduce the size of the cross
-rwxr-xr-x | game.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ class Canvas(Gtk.DrawingArea): def __init__(self): Gtk.DrawingArea.__init__(self) - self._mode = MODE_CIRCLE + self._mode = MODE_CROSS self._circles = [] self._crosses = [] self._center = () @@ -104,7 +104,7 @@ class Canvas(Gtk.DrawingArea): context.set_source_rgb(*fill) for cross in self._crosses: x, y = cross - a = BETWEEN_LINE_SPACE / 2 + a = SIZE / 2 context.move_to(x - a, y - a) context.line_to(x + a, y + a) |