Skip to content

Commit

Permalink
set z-index even higher because of wasm4 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrider3774 committed Jul 1, 2024
1 parent 8bf7822 commit e324ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
var img = new Image() ;
img.src = "sprites/exit.png" ;
img.id = "exit-button" ;
img.style = "width: 5vw ; position: fixed ; top: 1.5vw ; right: 1.5vw ; opacity: .5 ; image-rendering: moz-crisp-edges; image-rendering: pixelated ; z-index: 100000" ;
img.style = "width: 5vw ; position: fixed ; top: 1.5vw ; right: 1.5vw ; opacity: .5 ; image-rendering: moz-crisp-edges; image-rendering: pixelated ; z-index: 9999999" ;
document.body.appendChild(img) ;
img.addEventListener("click",()=>{global.back_to_menu = true})
}
Expand Down

0 comments on commit e324ae3

Please sign in to comment.