mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
compact
This commit is contained in:
parent
8c3cf53c67
commit
ea529b7734
5 changed files with 91 additions and 91 deletions
|
|
@ -64,7 +64,7 @@ impl<'a> SceneGridView<'a> {
|
|||
let w = (title.len() as u16).max(10) + 3;
|
||||
x = x + w;
|
||||
}
|
||||
"+Add track…".blit(self.buf, x + 2, y, Some(Style::default().dim()));
|
||||
"[C-t] Add track…".blit(self.buf, x + 2, y + 1, Some(Style::default().dim()));
|
||||
Ok(self.area)
|
||||
}
|
||||
|
||||
|
|
@ -100,7 +100,7 @@ impl<'a> SceneGridView<'a> {
|
|||
}
|
||||
let hi = (0 == self.cursor.0) &&
|
||||
(self.scenes.len() + 1 == self.cursor.1);
|
||||
"+Add scene…".blit(self.buf, x, y + index as u16, Some(if hi {
|
||||
"[Add scene…]".blit(self.buf, x, y + index as u16, Some(if hi {
|
||||
self.highlight(true)
|
||||
} else {
|
||||
Style::default().dim()
|
||||
|
|
@ -130,7 +130,7 @@ impl<'a> SceneGridView<'a> {
|
|||
format!("????")
|
||||
}
|
||||
} else {
|
||||
format!(" ·········")
|
||||
format!(" ·········")
|
||||
};
|
||||
label.blit(self.buf, x, y + index, style);
|
||||
}
|
||||
|
|
@ -138,7 +138,7 @@ impl<'a> SceneGridView<'a> {
|
|||
}
|
||||
let hi = (track + 1 == self.cursor.0) &&
|
||||
(self.scenes.len() + 1 == self.cursor.1);
|
||||
" + Add clip".blit(self.buf, x, y + index as u16, Some(if hi {
|
||||
"[Add clip…]".blit(self.buf, x, y + index as u16, Some(if hi {
|
||||
self.highlight(true)
|
||||
} else {
|
||||
Style::default().dim()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue