Skip to content

Commit

Permalink
Tracks button (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex authored Dec 14, 2023
1 parent a70abe7 commit ab66260
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions neothesia/src/scene/menu_scene/iced_menu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,16 @@ impl<'a> Step {
)
.style(theme::checkbox());

let tracks = button(centered_text("Tracks"))
.on_press(Message::GoToPage(Step::TrackSelection))
.style(theme::button());

let play = neo_button("Play")
.height(Length::Fixed(60.0))
.min_width(80.0)
.on_press(Message::Play);

let row = row![play_along, play]
let row = row![tracks, play_along, play]
.spacing(20)
.align_items(Alignment::Center);

Expand Down Expand Up @@ -520,7 +524,7 @@ impl<'a> Step {
let column = super::wrap::Wrap::with_elements(tracks)
.spacing(14.0)
.line_spacing(14.0)
.padding(20.0)
.padding(50.0)
.align_items(Alignment::Center);

let column = col![vertical_space(Length::Fixed(30.0)), column]
Expand Down

0 comments on commit ab66260

Please sign in to comment.