mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 21:26:43 +01:00
remove last unused ratatui styles
This commit is contained in:
parent
799228e366
commit
ff7ae12405
2 changed files with 1 additions and 10 deletions
|
|
@ -4,12 +4,7 @@ impl Content for TransportToolbar<Tui> {
|
|||
fn content (&self) -> impl Widget<Engine = Tui> {
|
||||
lay!(
|
||||
self.focus.wrap(self.focused, TransportToolbarFocus::PlayPause, &Styled(
|
||||
match *self.clock.playing.read().unwrap() {
|
||||
Some(TransportState::Stopped) => Some(GRAY_DIM.bold()),
|
||||
Some(TransportState::Starting) => Some(GRAY_NOT_DIM_BOLD),
|
||||
Some(TransportState::Rolling) => Some(WHITE_NOT_DIM_BOLD),
|
||||
_ => unreachable!(),
|
||||
},
|
||||
None,
|
||||
match *self.clock.playing.read().unwrap() {
|
||||
Some(TransportState::Rolling) => "▶ PLAYING",
|
||||
Some(TransportState::Starting) => "READY ...",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue