shell: Fix group backdrop on swap
This commit is contained in:
parent
abf430f956
commit
abd27e6aab
1 changed files with 12 additions and 1 deletions
|
|
@ -4279,7 +4279,18 @@ where
|
||||||
Key::Group(Arc::downgrade(alive)),
|
Key::Group(Arc::downgrade(alive)),
|
||||||
geo,
|
geo,
|
||||||
8.,
|
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,
|
GROUP_COLOR,
|
||||||
)
|
)
|
||||||
.into(),
|
.into(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue