mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
move Phrase::process_in logic to Track::process
This commit is contained in:
parent
4b909ffdc3
commit
163ecaaed6
6 changed files with 107 additions and 105 deletions
|
|
@ -85,7 +85,7 @@ render!(App |self, buf, area| {
|
|||
track: Some(track),
|
||||
vertical: true,
|
||||
}
|
||||
.render(buf, Rect { x, y: y + 1, width, height: height / 3 })?
|
||||
.render(buf, Rect { x, y: y + 1, width, height: height - y - 1 })?
|
||||
.width
|
||||
.max(track.name.len() as u16);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue