mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 23:02:14 +03:00
Dont animate first window in when alt-tabbing
This commit is contained in:
parent
0142994a40
commit
eaf74232bd
@ -111,8 +111,6 @@ namespace Gala
|
|||||||
foreach (var clone in window_clones) {
|
foreach (var clone in window_clones) {
|
||||||
if (current_actor == clone.source) {
|
if (current_actor == clone.source) {
|
||||||
clone.get_parent ().set_child_above_sibling (clone, null);
|
clone.get_parent ().set_child_above_sibling (clone, null);
|
||||||
clone.depth = -200.0f;
|
|
||||||
clone.opacity = 0;
|
|
||||||
clone.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 250, depth : 0.0f, opacity : 255);
|
clone.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 250, depth : 0.0f, opacity : 255);
|
||||||
} else {
|
} else {
|
||||||
clone.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 250, depth : -200.0f, opacity : 0);
|
clone.animate (Clutter.AnimationMode.EASE_OUT_QUAD, 250, depth : -200.0f, opacity : 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user