Fix pointer events
Phaser 3.53.0 no longer sets `pointer-events: auto` for generated DOM elements, so we need to do it manually.
This commit is contained in:
parent
15ad163da3
commit
baebc33a66
|
@ -1,4 +1,7 @@
|
|||
<style>
|
||||
#gameMenu {
|
||||
pointer-events: auto;
|
||||
}
|
||||
#gameMenu button {
|
||||
background-color: black;
|
||||
color: white;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<style>
|
||||
#menuIcon {
|
||||
pointer-events: auto;
|
||||
}
|
||||
#menuIcon button {
|
||||
background-color: black;
|
||||
color: white;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
height: 257px;
|
||||
margin: 20px auto 0;
|
||||
width: 298px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#gameQuality .cautiousText {
|
||||
font-size: 50%;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
border-radius: 6px;
|
||||
margin: 2px auto 0;
|
||||
width: 298px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#gameReport h1 {
|
||||
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
margin: 20px auto 0;
|
||||
width: 298px;
|
||||
height: 150px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#gameShare h1 {
|
||||
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
margin: 10px auto 0;
|
||||
width: 400px;
|
||||
height: 370px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#helpCameraSettings h1 {
|
||||
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
|
||||
|
|
Loading…
Reference in New Issue