Skip to content

Commit

Permalink
Implement Overlay::operate for responsive::Overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Oct 4, 2024
1 parent 89c6654 commit fca5d80
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions widget/src/lazy/responsive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,4 +453,15 @@ where
})
.unwrap_or_default()
}

fn operate(
&mut self,
layout: Layout<'_>,
renderer: &Renderer,
operation: &mut dyn widget::Operation,
) {
let _ = self.with_overlay_mut_maybe(|overlay| {
overlay.operate(layout, renderer, operation);
});
}
}

0 comments on commit fca5d80

Please sign in to comment.