fix some (but far from all) visual bugs
This commit is contained in:
parent
d0bc7e952c
commit
b668a894c7
7 changed files with 114 additions and 104 deletions
|
|
@ -90,9 +90,17 @@ impl Matcher {
|
|||
lv.selected().and_then(|(i, _)| i.message_or_name()),
|
||||
)?,
|
||||
}),
|
||||
InputTarget::This => lv
|
||||
.selected()
|
||||
.map(|(i, _)| Self::Specific { hash: i.hash() }),
|
||||
InputTarget::This => {
|
||||
if lv
|
||||
.selected()
|
||||
.is_none_or(|(i, _)| !i.can_be_inlined(&lv.filters))
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
||||
lv.selected()
|
||||
.map(|(i, _)| Self::Specific { hash: i.hash() })
|
||||
}
|
||||
InputTarget::Surround => todo!(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue