Allow Overlay::overlay to borrow Layout

This commit is contained in:
Héctor Ramón Jiménez 2025-05-15 16:32:49 +02:00
parent 346ce61b5d
commit 6155100767
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F
5 changed files with 11 additions and 8 deletions

View file

@ -82,7 +82,7 @@ where
/// Returns the nested overlay of the [`Overlay`], if there is any.
fn overlay<'a>(
&'a mut self,
_layout: Layout<'_>,
_layout: Layout<'a>,
_renderer: &Renderer,
) -> Option<Element<'a, Message, Theme, Renderer>> {
None