summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar tarkah <cforsstrom18@gmail.com>2022-11-19 12:25:59 -0800
committerLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2022-11-29 12:17:29 -0800
commitf1ada7a803998ac3fb2c1bedc6d6650264f3e603 (patch)
tree17b503307d94ccac239f79f0fc9c3d532732be24 /native/src/widget.rs
parent67420cb1e4ac8f7819ee5775c52676c6b7b58718 (diff)
downloadiced-f1ada7a803998ac3fb2c1bedc6d6650264f3e603.tar.gz
iced-f1ada7a803998ac3fb2c1bedc6d6650264f3e603.tar.bz2
iced-f1ada7a803998ac3fb2c1bedc6d6650264f3e603.zip
Allow &mut self in overlay
Diffstat (limited to '')
-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,