This commit is contained in:
Nathan Sobo 2023-08-10 10:26:48 -06:00
parent dd6425e898
commit 0bf607cd2d
48 changed files with 319 additions and 325 deletions

View file

@ -1864,12 +1864,12 @@ impl NavHistoryState {
}
}
pub struct PaneBackdrop<V: View> {
pub struct PaneBackdrop<V> {
child_view: usize,
child: AnyElement<V>,
}
impl<V: View> PaneBackdrop<V> {
impl<V> PaneBackdrop<V> {
pub fn new(pane_item_view: usize, child: AnyElement<V>) -> Self {
PaneBackdrop {
child,
@ -1878,7 +1878,7 @@ impl<V: View> PaneBackdrop<V> {
}
}
impl<V: View> Element<V> for PaneBackdrop<V> {
impl<V: 'static> Element<V> for PaneBackdrop<V> {
type LayoutState = ();
type PaintState = ();