Rename draw2 -> draw_and_update_state

This commit is contained in:
Nathan Sobo committed 2023-12-14 17:20:27 -07:00
1 parent e89e66090d
commit bde23a78d3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -933,7 +933,7 @@ impl EditorElement {
cx.stop_propagation();
},
))
.draw2(
.draw_and_update_state(
fold_bounds.origin,
fold_bounds.size,
cx,
+1 -1
View File
@@ -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>,