Rename Overlay::on_event to update

This commit is contained in:
Héctor Ramón Jiménez 2024-11-06 00:02:46 +01:00
parent 03bffe3db6
commit e5f1e31a5c
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F
14 changed files with 25 additions and 26 deletions

View file

@ -489,7 +489,7 @@ mod toast {
.translate(Vector::new(self.position.x, self.position.y))
}
fn on_event(
fn update(
&mut self,
event: Event,
layout: Layout<'_>,