[sushi] mainwindow: reset the background opacity after unfullscreen



commit 6c873d8ca3f5195ee88e7f44c955804b6c54b952
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 27 16:18:40 2011 -0400

    mainwindow: reset the background opacity after unfullscreen

 src/js/ui/mainWindow.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 06626a3..14da75f 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -249,6 +249,7 @@ MainWindow.prototype = {
         delete this._unFullScreenId;
 
         this._createAlphaBackground();
+        this._background.set_opacity(Constants.VIEW_BACKGROUND_OPACITY);
         this._textureYAlign.factor = this._savedYFactor;
 
         let textureSize = this._getTextureSize();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]