[the-board] [ui] Guarantee only active thing is over the dim box in Page
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Guarantee only active thing is over the dim box in Page
- Date: Thu, 18 Nov 2010 19:05:49 +0000 (UTC)
commit ee5cbd6e16bc8e61d3090086719ce4e34015451e
Author: Lucas Rocha <lucasr litl com>
Date: Thu Nov 18 19:04:52 2010 +0000
[ui] Guarantee only active thing is over the dim box in Page
src/js/ui/page.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/js/ui/page.js b/src/js/ui/page.js
index 3d0533b..b66427b 100644
--- a/src/js/ui/page.js
+++ b/src/js/ui/page.js
@@ -381,7 +381,6 @@ Page.prototype = {
this._activeThing.deactivate();
this._activeThing.hideControls();
this._activeThing.actor.depth = _LAYER_THING;
- this._activeThing.actor.lower(this._dimBox);
}
this._activeThing = activeThing;
@@ -389,7 +388,10 @@ Page.prototype = {
if (this._activeThing) {
this._activeThing.activate();
this._activeThing.showControls();
- this._activeThing.actor.raise(null);
+
+ this._dimBox.raise(null);
+ this._activeThing.actor.raise(this._dimBox);
+
this._showDimBox();
} else {
this._hideDimBox();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]