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
3
front/dist/resources/html/gameMenu.html
vendored
3
front/dist/resources/html/gameMenu.html
vendored
@ -1,4 +1,7 @@
|
||||
<style>
|
||||
#gameMenu {
|
||||
pointer-events: auto;
|
||||
}
|
||||
#gameMenu button {
|
||||
background-color: black;
|
||||
color: white;
|
||||
|
5
front/dist/resources/html/gameMenuIcon.html
vendored
5
front/dist/resources/html/gameMenuIcon.html
vendored
@ -1,4 +1,7 @@
|
||||
<style>
|
||||
#menuIcon {
|
||||
pointer-events: auto;
|
||||
}
|
||||
#menuIcon button {
|
||||
background-color: black;
|
||||
color: white;
|
||||
@ -21,4 +24,4 @@
|
||||
<img src="/static/images/menu.svg">
|
||||
</button>
|
||||
</section>
|
||||
</main>
|
||||
</main>
|
||||
|
@ -6,6 +6,7 @@
|
||||
height: 257px;
|
||||
margin: 20px auto 0;
|
||||
width: 298px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#gameQuality .cautiousText {
|
||||
font-size: 50%;
|
||||
|
1
front/dist/resources/html/gameReport.html
vendored
1
front/dist/resources/html/gameReport.html
vendored
@ -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);
|
||||
|
1
front/dist/resources/html/gameShare.html
vendored
1
front/dist/resources/html/gameShare.html
vendored
@ -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
Block a user