[gnome-shell/wip/paging] overview: Reset opacity when not animating
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging] overview: Reset opacity when not animating
- Date: Sun, 4 Aug 2013 09:37:02 +0000 (UTC)
commit 0ea262621751ea4e42d52914fe42886d89c3a85a
Author: Adel Gadllah <adel gadllah gmail com>
Date: Sun Aug 4 11:35:35 2013 +0200
overview: Reset opacity when not animating
We are not resetting the opacity when we are not animating, which can cause
a hidden window to end up with opacity 0 if we remove the tween to early.
js/ui/workspace.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 7137504..9833d27 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -1141,6 +1141,7 @@ const Workspace = new Lang.Class({
Tweener.removeTweens(clone.actor);
clone.actor.set_position(x, y);
clone.actor.set_scale(scale, scale);
+ clone.actor.set_opacity(255);
clone.overlay.relayout(false);
this._showWindowOverlay(clone, overlay, isOnCurrentWorkspace);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]