mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-10 13:46:42 +01:00
generalize Fixed and bring back some more of the arranger
This commit is contained in:
parent
d577449b72
commit
2352b72377
4 changed files with 51 additions and 52 deletions
|
|
@ -262,7 +262,7 @@ impl Content for TransportPlayPauseButton<Tui> {
|
|||
type Engine = Tui;
|
||||
fn content (&self) -> impl Widget<Engine = Tui> {
|
||||
Layers::new(|add|{
|
||||
add(&Plus::X(1, Min::Y(2, Styled(match self.value {
|
||||
add(&Plus::X(1, Min::XY(11, 2, Styled(match self.value {
|
||||
Some(TransportState::Stopped) => Some(GRAY_DIM.bold()),
|
||||
Some(TransportState::Starting) => Some(GRAY_NOT_DIM_BOLD),
|
||||
Some(TransportState::Rolling) => Some(WHITE_NOT_DIM_BOLD),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue