Skip to content

Commit

Permalink
fix control buttons bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Jun 7, 2024
1 parent f29da1f commit f5eb99b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG_SINCE_LAST_VERSION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix control buttons bug
2 changes: 1 addition & 1 deletion inputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ document.getElementById("display_right").addEventListener('touchend', function(e
});
}
function button_styles(){
if(game_config("sound")){
if(game_config("show-control-buttons")){
if(quitPressed){
document.getElementById("display_quit").style.backgroundColor="red"
} else {
Expand Down

0 comments on commit f5eb99b

Please sign in to comment.