Skip to content

Commit

Permalink
Use filtered touch input in charging screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Oct 8, 2023
1 parent 9e0c533 commit b641875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/states/charging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub async fn charging(board: &mut Board) -> AppState {
exit_timer.reset();
}

if charging_screen.update_touched(board.frontend.is_touched()) {
if charging_screen.update_touched(input.is_touched()) {
return AppState::Menu(AppMenu::Main);
}

Expand Down

0 comments on commit b641875

Please sign in to comment.