Skip to content

Commit

Permalink
Fix Exit Btns
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Jan 28, 2021
1 parent 121fd26 commit c856f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scene/menu_scene/iced_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ impl ExitControls {
.vertical_alignment(VerticalAlignment::Center),
)
.width(Length::Fill)
.on_press(Message::PrevPressed),
.on_press(Message::EscPressed),
)
.push(
NeoBtn::new(
Expand All @@ -463,7 +463,7 @@ impl ExitControls {
.vertical_alignment(VerticalAlignment::Center),
)
.width(Length::Fill)
.on_press(Message::NextPressed),
.on_press(Message::EnterPressed),
);

let controls = Column::new()
Expand Down

0 comments on commit c856f22

Please sign in to comment.