Allow mouse events

This commit is contained in:
pietervdvn 2022-08-30 14:34:22 +02:00
parent a7ac3837d6
commit 79183bb9ab
2 changed files with 17 additions and 29 deletions

View file

@ -26,7 +26,7 @@ const mode = QueryParameters.GetQueryParameter("mode", "map", "The mode the appl
if (mode.data === "statistics") {
console.log("Statistics mode!")
new FixedUiElement("").AttachTo("centermessage")
new StatisticsGUI().SetClass("w-full h-full").AttachTo("topleft-tools")
new StatisticsGUI().SetClass("w-full h-full pointer-events-auto").AttachTo("topleft-tools")
} else{
new AllThemesGui().setup();
}

View file

@ -858,10 +858,6 @@ video {
margin-bottom: 0.75rem;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.ml-3 {
margin-left: 0.75rem;
}
@ -914,6 +910,10 @@ video {
margin-right: 1rem;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.ml-2 {
margin-left: 0.5rem;
}
@ -1054,14 +1054,14 @@ video {
height: 6rem;
}
.h-64 {
height: 16rem;
}
.h-full {
height: 100%;
}
.h-64 {
height: 16rem;
}
.h-10 {
height: 2.5rem;
}
@ -1074,10 +1074,6 @@ video {
height: 2rem;
}
.h-14 {
height: 3.5rem;
}
.h-4 {
height: 1rem;
}
@ -1170,14 +1166,6 @@ video {
width: 2rem;
}
.w-14 {
width: 3.5rem;
}
.w-1\/3 {
width: 33.333333%;
}
.w-4 {
width: 1rem;
}
@ -1423,10 +1411,6 @@ video {
border-radius: 9999px;
}
.rounded-xl {
border-radius: 0.75rem;
}
.rounded-3xl {
border-radius: 1.5rem;
}
@ -1443,6 +1427,10 @@ video {
border-radius: 0.5rem;
}
.rounded-xl {
border-radius: 0.75rem;
}
.rounded-sm {
border-radius: 0.125rem;
}
@ -1452,14 +1440,14 @@ video {
border-bottom-left-radius: 0.25rem;
}
.border-2 {
border-width: 2px;
}
.border {
border-width: 1px;
}
.border-2 {
border-width: 2px;
}
.border-4 {
border-width: 4px;
}