This commit is contained in:
Nathan Sobo 2023-07-26 12:54:23 -06:00
parent c48d8af204
commit 0374bc66ce
11 changed files with 347 additions and 148 deletions

View file

@ -337,7 +337,7 @@ pub fn element_derive(input: TokenStream) -> TokenStream {
visible_bounds: gpui::geometry::rect::RectF,
element: &mut gpui::elements::AnyElement<V>,
view: &mut V,
cx: &mut gpui::ViewContext<V>,
cx: &mut gpui::PaintContext<V>,
) {
element.paint(scene, bounds.origin(), visible_bounds, view, cx);
}