Rename draw2 -> draw_and_update_state
This commit is contained in:
parent
f4a954db4f
commit
ad8165ae79
2 changed files with 2 additions and 2 deletions
|
@ -933,7 +933,7 @@ impl EditorElement {
|
|||
cx.stop_propagation();
|
||||
},
|
||||
))
|
||||
.draw2(
|
||||
.draw_and_update_state(
|
||||
fold_bounds.origin,
|
||||
fold_bounds.size,
|
||||
cx,
|
||||
|
|
|
@ -23,7 +23,7 @@ pub trait IntoElement: Sized {
|
|||
self.into_element().into_any()
|
||||
}
|
||||
|
||||
fn draw2<T, R>(
|
||||
fn draw_and_update_state<T, R>(
|
||||
self,
|
||||
origin: Point<Pixels>,
|
||||
available_space: Size<T>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue