summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-11-29 21:50:27 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-29 21:50:27 +0100
commit23da5a32515a2eaf567d35d1b81e4b8400a27219 (patch)
tree17b503307d94ccac239f79f0fc9c3d532732be24 /native/src/widget.rs
parent67420cb1e4ac8f7819ee5775c52676c6b7b58718 (diff)
parentf1ada7a803998ac3fb2c1bedc6d6650264f3e603 (diff)
downloadiced-23da5a32515a2eaf567d35d1b81e4b8400a27219.tar.gz
iced-23da5a32515a2eaf567d35d1b81e4b8400a27219.tar.bz2
iced-23da5a32515a2eaf567d35d1b81e4b8400a27219.zip
Merge pull request #1563 from tarkah/fix/overlay-mutable
Allow &mut self in overlay
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,