summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r--native/src/widget.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs
index 526c7d00..36d679a4 100644
--- a/native/src/widget.rs
+++ b/native/src/widget.rs
@@ -208,7 +208,7 @@ where
/// Returns the overlay of the [`Widget`], if there is any.
fn overlay<'a>(
- &'a self,
+ &'a mut self,
_state: &'a mut Tree,
_layout: Layout<'_>,
_renderer: &Renderer,