mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 10:13:04 +03:00
Fixed a little problem when animation caused the windows not to scale back
This commit is contained in:
parent
1cdea76397
commit
c5d262e03c
@ -95,6 +95,7 @@ namespace Gala
|
||||
|
||||
window_list.foreach ((w) => {
|
||||
plugin.dim_window (w, false);
|
||||
(w.get_compositor_private () as Clutter.Actor).detach_animation ();
|
||||
(w.get_compositor_private () as Clutter.Actor).depth = 0.0f;
|
||||
});
|
||||
|
||||
@ -171,7 +172,7 @@ namespace Gala
|
||||
void dim_windows ()
|
||||
{
|
||||
window_list.foreach ((window) => {
|
||||
(window.get_compositor_private () as Clutter.Actor).animate (Clutter.AnimationMode.EASE_OUT_QUAD, 200, depth:-80.0f);
|
||||
// (window.get_compositor_private () as Clutter.Actor).animate (Clutter.AnimationMode.EASE_OUT_QUAD, 200, depth:-80.0f);
|
||||
plugin.dim_window (window, window != current_window);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user