Revert "wip: cross fade the window_group and window clones going in/out of the overview"

This reverts commit 1625591598.
This commit is contained in:
Rui Matos
2011-07-20 00:45:53 +01:00
parent d894dedaf6
commit 361308eb1b
2 changed files with 14 additions and 43 deletions

View File

@ -973,28 +973,17 @@ Workspace.prototype = {
});
}
clone.actor.opacity = 0;
Tweener.addTween(clone.actor,
{ opacity: 255,
{ x: x,
y: y,
scale_x: scale,
scale_y: scale,
time: Overview.ANIMATION_TIME,
transition: 'easeInOutQuad',
transition: 'easeOutQuad',
onComplete: Lang.bind(this, function() {
this._showWindowOverlay(clone, overlay, true);
})
});
// Tweener.addTween(clone.actor,
// { x: x,
// y: y,
// scale_x: scale,
// scale_y: scale,
// time: Overview.ANIMATION_TIME,
// transition: 'easeInOutQuad',
// onComplete: Lang.bind(this, function() {
// this._showWindowOverlay(clone, overlay, true);
// })
// });
clone.actor.set_position(x, y);
clone.actor.set_scale(scale, scale);
} else {
clone.actor.set_position(x, y);
clone.actor.set_scale(scale, scale);
@ -1259,18 +1248,14 @@ Workspace.prototype = {
if (clone.metaWindow.showing_on_its_workspace()) {
Tweener.addTween(clone.actor,
{ opacity: 0,
{ x: clone.origX,
y: clone.origY,
scale_x: 1.0,
scale_y: 1.0,
time: Overview.ANIMATION_TIME,
transition: 'easeInOutQuad'
opacity: 255,
transition: 'easeOutQuad'
});
// Tweener.addTween(clone.actor,
// { x: clone.origX,
// y: clone.origY,
// scale_x: 1.0,
// scale_y: 1.0,
// time: Overview.ANIMATION_TIME,
// transition: 'easeInOutQuad'
// });
} else {
// The window is hidden, make it shrink and fade it out
Tweener.addTween(clone.actor,