mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
ui thrashing
This commit is contained in:
parent
acb952736e
commit
20b7267225
18 changed files with 695 additions and 233 deletions
|
|
@ -12,6 +12,7 @@ pub struct TransportView<'a> {
|
|||
|
||||
impl<'a> Render for TransportView<'a> {
|
||||
fn render (&self, buf: &mut Buffer, area: Rect) -> Usually<Rect> {
|
||||
fill_bg(buf, area, Color::Rgb(20, 45, 5));
|
||||
let Rect { x, y, width, .. } = area;
|
||||
draw_play_stop(buf, x + 1, y, &self.playing);
|
||||
if width > 100 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue