This commit is contained in:
Nathan Sobo 2023-11-13 18:18:25 -07:00
parent aec7955ccf
commit 76754c559c
11 changed files with 296 additions and 22 deletions

View file

@ -121,6 +121,15 @@ 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>,