Skip to content

Commit

Permalink
[libgui - Rust] TextView passes through Bordered calls to its underly…
Browse files Browse the repository at this point in the history
…ing ScrollView
  • Loading branch information
codyd51 committed Feb 13, 2024
1 parent 3277a00 commit 7d0072b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rust_programs/libgui/src/text_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,12 @@ impl Bordered for TextView {
*/
//println!("Finished call to draw_inner_content()");
}

fn draw_border_with_insets(&self, onto: &mut Box<dyn LikeLayerSlice>) -> Rect {
self.view.draw_border_with_insets(onto)
}

fn draw_border(&self) -> Rect {
self.view.draw_border()
}
}

0 comments on commit 7d0072b

Please sign in to comment.