Skip to content

Commit

Permalink
fix: fill in todos
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Nov 29, 2023
1 parent 22e9d89 commit 15d345a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ where
_renderer: &Renderer,
_limits: &layout::Limits,
) -> layout::Node {
todo!()
self.widget.layout(_tree, _renderer, _limits)
}

fn draw(
Expand All @@ -311,7 +311,9 @@ where
_cursor: Cursor,
_viewport: &Rectangle,
) {
todo!()
self.widget.draw(
_state, _renderer, _theme, _style, _layout, _cursor, _viewport,
);
}
}

Expand Down

0 comments on commit 15d345a

Please sign in to comment.