This commit is contained in:
Nathan Sobo 2023-11-13 18:58:42 -07:00
parent 76754c559c
commit 922bb3195b
9 changed files with 82 additions and 218 deletions

View file

@ -121,15 +121,6 @@ impl<V: 'static> Element<V> for Text<V> {
layout_id
}
fn prepaint(
&mut self,
bounds: Bounds<Pixels>,
view_state: &mut V,
element_state: &mut Self::ElementState,
cx: &mut ViewContext<V>,
) {
}
fn paint(
&mut self,
bounds: Bounds<Pixels>,