Skip to content

Commit

Permalink
Merge pull request #1569 from hharshas/main
Browse files Browse the repository at this point in the history
Blockrain ~ down-arrow button response same like #1563 (game starts but play button stays)
  • Loading branch information
llaske authored Mar 17, 2024
2 parents 8dfa632 + d0b7eda commit cd549d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activities/Blockrain.activity/js/blockrain.jquery.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@
$("#left-arrow").bind('touchstart click', function(event) {moveLeft(event); endMoveLeft(event)});
$("#right-arrow").bind('touchstart click', function(event) {moveRight(event); endMoveRight(event)});
$("#up-arrow").bind('touchstart click', rotateRight);
$("#down-arrow").bind('touchstart click', function(event) {drop(event); endDrop(event)});
$("#down-arrow").bind('touchstart click', function(event) {game.start(); drop(event); endDrop(event)});
},
_unbindButtons: function(){
$("#left-arrow").unbind('touchstart click');
Expand Down

0 comments on commit cd549d5

Please sign in to comment.