mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: light refacto
This commit is contained in:
parent
963b277dbd
commit
c4fc9c605e
1 changed files with 2 additions and 5 deletions
|
|
@ -42,11 +42,8 @@ impl Actor for Peek {
|
||||||
preview.skip = skip;
|
preview.skip = skip;
|
||||||
}
|
}
|
||||||
|
|
||||||
match form.search_idx {
|
if let Some(index) = form.search_idx {
|
||||||
Some(index) => {
|
preview.search_idx = Some(index);
|
||||||
preview.search_idx = Some(index);
|
|
||||||
}
|
|
||||||
None => {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if hovered.is_dir() {
|
if hovered.is_dir() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue