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

@ -257,7 +257,7 @@ where
fn overlay<'b>(
&'b mut self,
layout: Layout<'_>,
layout: Layout<'b>,
renderer: &Renderer,
) -> Option<overlay::Element<'b, Message, Theme, Renderer>>
{