Skip to content

Commit

Permalink
fix(canvas replacement): mobile controls not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
seleb committed Jan 12, 2022
1 parent f144467 commit 265f09c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/canvas replacement.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export var hackOptions = {
var glazy;
after('startExportedGame', function () {
glazy = new WebGLazy(hackOptions.glazyOptions);
document.querySelector('#canvasContainer').style.pointerEvents = 'none';
document.querySelector('#touchTrigger').style.visibility = 'initial';
if (hackOptions.init) {
hackOptions.init(glazy);
}
Expand Down

0 comments on commit 265f09c

Please sign in to comment.