Fix the same issue in the renderer.
This commit is contained in:
@@ -821,7 +821,7 @@ impl<'a> DustRenderer<'a> {
|
|||||||
breadcrumbs: &'b Vec<BreadcrumbTreeElement<'b>>,
|
breadcrumbs: &'b Vec<BreadcrumbTreeElement<'b>>,
|
||||||
) -> Option<usize> {
|
) -> Option<usize> {
|
||||||
breadcrumbs.iter().rposition(|b| {
|
breadcrumbs.iter().rposition(|b| {
|
||||||
std::borrow::Borrow::<dyn IntoContextElement + 'b>::borrow(b).is_pseudo_element()
|
!std::borrow::Borrow::<dyn IntoContextElement + 'b>::borrow(b).is_pseudo_element()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user