[sushi] window: no need to fade in the background at startup
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] window: no need to fade in the background at startup
- Date: Thu, 21 Apr 2011 20:48:42 +0000 (UTC)
commit 79ac32212a479dfc21c78fd6b3ca5b029a5e633b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Apr 21 16:47:59 2011 -0400
window: no need to fade in the background at startup
src/js/ui/mainWindow.js | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 57b85b1..ca697ae 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -88,16 +88,10 @@ MainWindow.prototype = {
this._background.add_constraint(
new Clutter.BindConstraint({ source: this._stage,
coordinate: Clutter.BindCoordinate.SIZE }));
- this._background.set_opacity(0);
+ this._background.set_opacity(Constants.VIEW_BACKGROUND_OPACITY);
this._stage.add_actor(this._background);
this._background.lower_bottom();
-
- Tweener.addTween (this._background,
- { opacity: Constants.VIEW_BACKGROUND_OPACITY,
- time: 0.10,
- transition: 'easeOutQuad'
- });
},
/**************************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]