Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-tsurko committed Oct 28, 2024
1 parent 177540d commit bfc284c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/midi_player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl GlobalState {
controller,
audio_stream,
playing_id: None,
tempo: 120
tempo: 120,
}
}

Expand Down Expand Up @@ -115,7 +115,8 @@ pub(crate) fn view(state: &State) -> Element<Message> {
button(label).on_press(message).width(60.0),
slider(0.0..=1.0, state.position, |v| {
Message::ChangePlayingPosition(state.id, v)
}).step(0.001)
})
.step(0.001)
]
.align_y(iced::Alignment::Center)
.spacing(10.0)
Expand Down

0 comments on commit bfc284c

Please sign in to comment.