mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
horizontal time cursor
This commit is contained in:
parent
3177e4ab58
commit
d9b3bd150e
8 changed files with 341 additions and 249 deletions
|
|
@ -48,11 +48,11 @@ pub fn render (state: &Chain, buf: &mut Buffer, area: Rect)
|
|||
},
|
||||
ChainView::Column => {
|
||||
let (area, areas) = draw_column(&state.items, buf, area, 0)?;
|
||||
draw_box_styled(buf, area, Some(if state.focused {
|
||||
Style::default().dim()
|
||||
} else {
|
||||
Style::default().not_dim()
|
||||
}));
|
||||
//draw_box_styled(buf, area, Some(if state.focused {
|
||||
//Style::default().dim()
|
||||
//} else {
|
||||
//Style::default().not_dim()
|
||||
//}));
|
||||
draw_box_styled(buf, areas[state.focus], Some(if state.focused {
|
||||
Style::default().green().not_dim()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue