mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
afb44d1825
commit
1816622732
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ impl<'a> Folder<'a> {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
fn hovered_style(&self, file: &File) -> Style {
|
||||
fn item_style(&self, file: &File) -> Style {
|
||||
let mimetype = &self.cx.manager.mimetype;
|
||||
THEME
|
||||
.filetypes
|
||||
|
|
@ -115,7 +115,7 @@ impl<'a> Widget for Folder<'a> {
|
|||
} else if hovered {
|
||||
THEME.selection.hovered.get()
|
||||
} else {
|
||||
self.hovered_style(f)
|
||||
self.item_style(f)
|
||||
};
|
||||
|
||||
let mut spans = Vec::with_capacity(10);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue