Improve style of properties

This commit is contained in:
Jeremy Soller 2024-01-05 14:58:50 -07:00
parent b8239ce608
commit 5806c420a8
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
2 changed files with 41 additions and 34 deletions

View file

@ -242,7 +242,7 @@ impl App {
if let Some(ref items) = tab.items_opt {
for item in items.iter() {
if item.select_time.is_some() {
children.push(item.property_view());
children.push(item.property_view(&self.core));
}
}
}
@ -359,6 +359,10 @@ impl Application for App {
if let Some(ref mut items) = tab.items_opt {
let select_time = Instant::now();
for item in items.iter_mut() {
if item.hidden {
//TODO: option to show hidden files
continue;
}
item.select_time = Some(select_time);
}
}