Skip to content

Commit

Permalink
desktop: Don't swallow Escape key (fix ruffle-rs#6135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Herschel committed Jan 25, 2022
1 parent f23c031 commit d5986a7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions desktop/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,9 @@ impl App {
..
},
..
} => {
player.lock().unwrap().update(|uc| {
uc.stage.set_display_state(uc, StageDisplayState::Normal);
});
return;
}
} => player.lock().unwrap().update(|uc| {
uc.stage.set_display_state(uc, StageDisplayState::Normal);
}),
_ => (),
},
_ => (),
Expand Down

0 comments on commit d5986a7

Please sign in to comment.