move Phrase::process_in logic to Track::process

This commit is contained in:
🪞👃🪞 2024-07-04 18:24:08 +03:00
parent 4b909ffdc3
commit 163ecaaed6
6 changed files with 107 additions and 105 deletions

View file

@ -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);
}