Fix imprecise documentation in Pop::on_show
This commit is contained in:
parent
e78d7f0e51
commit
e73d0c65d2
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ where
|
|||
|
||||
/// Sets the message to be produced when the content pops into view.
|
||||
///
|
||||
/// The closure will receive the relative bounds of the content in that moment.
|
||||
/// The closure will receive the [`Size`] of the content in that moment.
|
||||
pub fn on_show(mut self, on_show: impl Fn(Size) -> Message + 'a) -> Self {
|
||||
self.on_show = Some(Box::new(on_show));
|
||||
self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue