mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-22 23:31: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;
|
||||
}
|
||||
|
||||
match form.search_idx {
|
||||
Some(index) => {
|
||||
preview.search_idx = Some(index);
|
||||
}
|
||||
None => {}
|
||||
if let Some(index) = form.search_idx {
|
||||
preview.search_idx = Some(index);
|
||||
}
|
||||
|
||||
if hovered.is_dir() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue