t jumps to track; mute -> play

This commit is contained in:
🪞👃🪞 2025-01-23 20:48:37 +01:00
parent 0fa8e5bf15
commit a79a5c57b3
2 changed files with 2 additions and 1 deletions

View file

@ -4,5 +4,6 @@
(@shift-space clock toggle 0)
(@ctrl-a scene add)
(@ctrl-t track add)
(@t select :track 0)
(@tab edit :clip)
(@c color)

View file

@ -245,7 +245,7 @@ impl Tek {
let mute = false;
let solo = false;
let cells: ThunkBox<_> = per_track!(self.size.w();|self, track, _t|Bsp::s(Tui::bold(true, row!(
Tui::fg_bg(if mute { White } else { track.color.light.rgb }, track.color.dark.rgb, "Mute"),
Tui::fg_bg(if mute { White } else { track.color.light.rgb }, track.color.dark.rgb, "Play"),
Tui::fg_bg(if mute { White } else { track.color.dark.rgb }, track.color.dark.rgb, ""),
Tui::fg_bg(if solo { White } else { track.color.light.rgb }, track.color.dark.rgb, "Solo"),
)), row!(