diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-10-27 19:14:50 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-10-27 19:14:50 +0200 |
commit | 524ae158be8b302656eeed4bf0ac54555a868242 (patch) | |
tree | b30da3f9678cda047f9788b183c30495351b69d9 /src/tree.rs | |
parent | 2dfd74a2630ca7ef22238c45a8d33657cdbf4e85 (diff) |
track memory leak: unsuccessful
Diffstat (limited to 'src/tree.rs')
-rw-r--r-- | src/tree.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tree.rs b/src/tree.rs index 57609b6..c842570 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -73,12 +73,7 @@ impl Node { } fn attr(&self, colors: &Colors) -> Attr { - let mut attr = fileinfo_attr(&self.fileinfo, colors); - if self.fileinfo.is_selected { - attr.effect |= tuikit::attr::Effect::REVERSE - }; - - attr + fileinfo_attr(&self.fileinfo, colors) } fn select(&mut self) { |