Browse Source

Fix pointer events

Phaser 3.53.0 no longer sets `pointer-events: auto` for generated DOM
elements, so we need to do it manually.
develop
PizZaKatZe 3 months ago
committed by Thomas Basler
parent
commit
baebc33a66
  1. 3
      front/dist/resources/html/gameMenu.html
  2. 5
      front/dist/resources/html/gameMenuIcon.html
  3. 1
      front/dist/resources/html/gameQualityMenu.html
  4. 1
      front/dist/resources/html/gameReport.html
  5. 1
      front/dist/resources/html/gameShare.html
  6. 1
      front/dist/resources/html/helpCameraSettings.html

3
front/dist/resources/html/gameMenu.html

@ -1,4 +1,7 @@
<style>
#gameMenu {
pointer-events: auto;
}
#gameMenu button {
background-color: black;
color: white;

5
front/dist/resources/html/gameMenuIcon.html

@ -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>

1
front/dist/resources/html/gameQualityMenu.html

@ -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

@ -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

@ -6,6 +6,7 @@
margin: 20px auto 0;
width: 298px;
height: 150px;
pointer-events: auto;
}
#gameShare h1 {
background-image: linear-gradient(top, #f1f3f3, #d4dae0);

1
front/dist/resources/html/helpCameraSettings.html

@ -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…
Cancel
Save