Rename Widget::on_event to update
This commit is contained in:
parent
dcc184b01b
commit
f02bfc3f68
37 changed files with 67 additions and 67 deletions
|
|
@ -273,7 +273,7 @@ where
|
|||
) {
|
||||
let bounds = layout.bounds();
|
||||
|
||||
self.list.on_event(
|
||||
self.list.update(
|
||||
self.state, event, layout, cursor, renderer, clipboard, shell,
|
||||
&bounds,
|
||||
);
|
||||
|
|
@ -386,7 +386,7 @@ where
|
|||
layout::Node::new(size)
|
||||
}
|
||||
|
||||
fn on_event(
|
||||
fn update(
|
||||
&mut self,
|
||||
tree: &mut Tree,
|
||||
event: Event,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue