Skip to content

Commit

Permalink
view_style for Box<dyn View>
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Sep 6, 2023
1 parent 73359f5 commit 7981a0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,10 @@ impl View for Box<dyn View> {
(**self).id()
}

fn view_style(&self) -> Option<Style> {
(**self).view_style()
}

fn child(&self, id: Id) -> Option<&dyn View> {
(**self).child(id)
}
Expand Down

0 comments on commit 7981a0a

Please sign in to comment.