mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-24 21:23:08 +00:00
Fix collapse logic
This commit is contained in:
parent
7010d32335
commit
ca0abc81bf
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ impl ProcWidgetState {
|
|||
let disabled = !kept_pids.contains(&process.pid);
|
||||
let is_last = *siblings_left == 0;
|
||||
|
||||
if !collapsed_pids.contains(&process.pid) & collapse {
|
||||
if collapsed_pids.contains(&process.pid).eq(&!collapse) {
|
||||
let mut summed_process = process.clone();
|
||||
let mut prefix = if prefixes.is_empty() {
|
||||
String::default()
|
||||
|
|
Loading…
Reference in a new issue