From 1b84784d26ce29daa1a94b1cfdeea171dc3476fe Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 16 Apr 2007 12:01:35 +0200 Subject: [PATCH] Fix initial scale --- shell/view/home/transitionbox.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/view/home/transitionbox.py b/shell/view/home/transitionbox.py index 61d94c95..fc6a8663 100644 --- a/shell/view/home/transitionbox.py +++ b/shell/view/home/transitionbox.py @@ -46,12 +46,12 @@ class TransitionBox(SpreadBox): def __init__(self): SpreadBox.__init__(self, background_color=0xe2e2e2ff) - self._scale = 0.0 + self._scale = units.XLARGE_ICON_SCALE - self._my_icon = MyIcon(units.LARGE_ICON_SCALE) + self._my_icon = MyIcon(self._scale) self.set_center_item(self._my_icon) - self._animator = animator.Animator(0.5, 30) + self._animator = animator.Animator(0.3, 30) self._animator.connect('completed', self._animation_completed_cb) def _animation_completed_cb(self, anim):