Rename draw2 -> draw_and_update_state
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user