Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/view/home/snowflakelayout.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/home/snowflakelayout.py')
-rw-r--r--src/view/home/snowflakelayout.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/home/snowflakelayout.py b/src/view/home/snowflakelayout.py
index 63705fa..330bf68 100644
--- a/src/view/home/snowflakelayout.py
+++ b/src/view/home/snowflakelayout.py
@@ -21,7 +21,7 @@ import hippo
from sugar.graphics import style
-_BASE_DISTANCE = style.zoom(15)
+_BASE_DISTANCE = style.zoom(25)
_CHILDREN_FACTOR = style.zoom(3)
class SnowflakeLayout(gobject.GObject,hippo.CanvasLayout):
@@ -76,6 +76,9 @@ class SnowflakeLayout(gobject.GObject,hippo.CanvasLayout):
else:
angle = 2 * math.pi * index / self._nflakes
+ if self._nflakes != 2:
+ angle -= math.pi / 2
+
dx = math.cos(angle) * r
dy = math.sin(angle) * r