Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristhofer Travieso <cristhofert97@gmail.com>2012-09-01 17:12:27 (GMT)
committer Cristhofer Travieso <cristhofert97@gmail.com>2012-09-01 17:12:27 (GMT)
commit726b7587c36fe3db2d2dd0e243061489a6bb1a15 (patch)
tree657a7f8ecd361f52d65c5e1c728837f77d97ce2e
parentcbb8b7299ce02b1304e00e840c98017367f1b820 (diff)
Reduce the size of the cross
-rwxr-xr-xgame.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/game.py b/game.py
index a40d99f..1e5817c 100755
--- a/game.py
+++ b/game.py
@@ -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)