diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-10-17 23:26:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-17 23:26:03 -0400 |
commit | 05b39d29ae4f3a3dd3f88c69ba3e29a1f9035c37 (patch) | |
tree | 73a2f401f68a8fbc714eddf63f5dfb1e3c62844d /src/canvas | |
parent | b8606c41b9343173b9265c157726f15c3aaa9bbb (diff) |
feature: Add simple indicator for when data updating is frozen (#269)
Diffstat (limited to 'src/canvas')
-rw-r--r-- | src/canvas/screens/config_screen.rs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/canvas/screens/config_screen.rs b/src/canvas/screens/config_screen.rs index 0bf82bb4..741a9fa6 100644 --- a/src/canvas/screens/config_screen.rs +++ b/src/canvas/screens/config_screen.rs @@ -29,30 +29,5 @@ impl ConfigScreen for Painter { .border_style(self.colours.border_style); f.render_widget(config_block, draw_loc); - - // let margined_draw_locs = Layout::default() - // .margin(2) - // .direction(Direction::Horizontal) - // .constraints( - // [ - // Constraint::Percentage(33), - // Constraint::Percentage(34), - // Constraint::Percentage(33), - // ] - // ) - // .split(draw_loc) - // .into_iter() - // .map(|loc| { - // // Required to properly margin in *between* the rectangles. - // Layout::default() - // .horizontal_margin(1) - // .constraints([Constraint::Percentage(100)]) - // .split(loc)[0] - // }) - // .collect::<Vec<Rect>>(); - - // for dl in margined_draw_locs { - // f.render_widget(Block::default().borders(Borders::ALL), dl); - // } } } |