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

@ -2640,6 +2640,15 @@ impl Element<Editor> for EditorElement {
cx.request_layout(&style, None)
}
fn prepaint(
&mut self,
bounds: Bounds<Pixels>,
view_state: &mut Editor,
element_state: &mut Self::ElementState,
cx: &mut ViewContext<Editor>,
) {
}
fn paint(
&mut self,
bounds: Bounds<gpui::Pixels>,