mirror of
https://github.com/elementary/gala.git
synced 2024-12-25 10:13:04 +03:00
Add shadow to wallpaper clones while switching workspace (#1726)
This commit is contained in:
parent
d0a21e2f53
commit
e119dd5f62
@ -46,7 +46,6 @@
|
||||
}
|
||||
|
||||
.workspace.decoration {
|
||||
border-radius: 4px;
|
||||
box-shadow:
|
||||
0 0 0 1px alpha(#000, 0.2),
|
||||
0 8px 10px 1px alpha(#000, 0.14),
|
||||
|
@ -1871,9 +1871,11 @@ namespace Gala {
|
||||
background_group.hide ();
|
||||
wallpaper = new Clutter.Clone (background_group);
|
||||
}
|
||||
wallpaper.add_effect (new Gala.ShadowEffect (40) { css_class = "workspace" });
|
||||
tmp_actors.prepend (wallpaper);
|
||||
|
||||
var wallpaper_clone = new Clutter.Clone (wallpaper);
|
||||
wallpaper_clone.add_effect (new Gala.ShadowEffect (40) { css_class = "workspace" });
|
||||
tmp_actors.prepend (wallpaper_clone);
|
||||
|
||||
// pack all containers
|
||||
|
Loading…
Reference in New Issue
Block a user