Allow mouse events

This commit is contained in:
Pieter Vander Vennet 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();
}