shell: Fix group backdrop on swap

This commit is contained in:
Victoria Brekenfeld 2023-09-14 15:27:05 +02:00
parent abf430f956
commit abd27e6aab

View file

@ -4279,7 +4279,18 @@ where
Key::Group(Arc::downgrade(alive)),
geo,
8.,
alpha * 0.15,
alpha
* if focused
.as_ref()
.map(|focused| {
focused == &swap_desc.as_ref().unwrap().node
})
.unwrap_or(false)
{
0.4
} else {
0.15
},
GROUP_COLOR,
)
.into(),