forked from MapComplete/MapComplete
		
	Allow mouse events
This commit is contained in:
		
							parent
							
								
									a7ac3837d6
								
							
						
					
					
						commit
						79183bb9ab
					
				
					 2 changed files with 17 additions and 29 deletions
				
			
		| 
						 | 
					@ -26,7 +26,7 @@ const mode = QueryParameters.GetQueryParameter("mode", "map", "The mode the appl
 | 
				
			||||||
if (mode.data === "statistics") {
 | 
					if (mode.data === "statistics") {
 | 
				
			||||||
    console.log("Statistics mode!")
 | 
					    console.log("Statistics mode!")
 | 
				
			||||||
    new FixedUiElement("").AttachTo("centermessage")
 | 
					    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{
 | 
					} else{
 | 
				
			||||||
    new AllThemesGui().setup();
 | 
					    new AllThemesGui().setup();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -858,10 +858,6 @@ video {
 | 
				
			||||||
  margin-bottom: 0.75rem;
 | 
					  margin-bottom: 0.75rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.mb-2 {
 | 
					 | 
				
			||||||
  margin-bottom: 0.5rem;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.ml-3 {
 | 
					.ml-3 {
 | 
				
			||||||
  margin-left: 0.75rem;
 | 
					  margin-left: 0.75rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -914,6 +910,10 @@ video {
 | 
				
			||||||
  margin-right: 1rem;
 | 
					  margin-right: 1rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.mb-2 {
 | 
				
			||||||
 | 
					  margin-bottom: 0.5rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ml-2 {
 | 
					.ml-2 {
 | 
				
			||||||
  margin-left: 0.5rem;
 | 
					  margin-left: 0.5rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1054,14 +1054,14 @@ video {
 | 
				
			||||||
  height: 6rem;
 | 
					  height: 6rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.h-64 {
 | 
					 | 
				
			||||||
  height: 16rem;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.h-full {
 | 
					.h-full {
 | 
				
			||||||
  height: 100%;
 | 
					  height: 100%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.h-64 {
 | 
				
			||||||
 | 
					  height: 16rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.h-10 {
 | 
					.h-10 {
 | 
				
			||||||
  height: 2.5rem;
 | 
					  height: 2.5rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1074,10 +1074,6 @@ video {
 | 
				
			||||||
  height: 2rem;
 | 
					  height: 2rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.h-14 {
 | 
					 | 
				
			||||||
  height: 3.5rem;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.h-4 {
 | 
					.h-4 {
 | 
				
			||||||
  height: 1rem;
 | 
					  height: 1rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1170,14 +1166,6 @@ video {
 | 
				
			||||||
  width: 2rem;
 | 
					  width: 2rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.w-14 {
 | 
					 | 
				
			||||||
  width: 3.5rem;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.w-1\/3 {
 | 
					 | 
				
			||||||
  width: 33.333333%;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.w-4 {
 | 
					.w-4 {
 | 
				
			||||||
  width: 1rem;
 | 
					  width: 1rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1423,10 +1411,6 @@ video {
 | 
				
			||||||
  border-radius: 9999px;
 | 
					  border-radius: 9999px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.rounded-xl {
 | 
					 | 
				
			||||||
  border-radius: 0.75rem;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.rounded-3xl {
 | 
					.rounded-3xl {
 | 
				
			||||||
  border-radius: 1.5rem;
 | 
					  border-radius: 1.5rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1443,6 +1427,10 @@ video {
 | 
				
			||||||
  border-radius: 0.5rem;
 | 
					  border-radius: 0.5rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.rounded-xl {
 | 
				
			||||||
 | 
					  border-radius: 0.75rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.rounded-sm {
 | 
					.rounded-sm {
 | 
				
			||||||
  border-radius: 0.125rem;
 | 
					  border-radius: 0.125rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1452,14 +1440,14 @@ video {
 | 
				
			||||||
  border-bottom-left-radius: 0.25rem;
 | 
					  border-bottom-left-radius: 0.25rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.border-2 {
 | 
					 | 
				
			||||||
  border-width: 2px;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.border {
 | 
					.border {
 | 
				
			||||||
  border-width: 1px;
 | 
					  border-width: 1px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.border-2 {
 | 
				
			||||||
 | 
					  border-width: 2px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.border-4 {
 | 
					.border-4 {
 | 
				
			||||||
  border-width: 4px;
 | 
					  border-width: 4px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue