forked from MapComplete/MapComplete
		
	Refactoring of Attribute Images, fix more or less decent slideshow. Turns out a few lines of css can get us there!
This commit is contained in:
		
							parent
							
								
									6ba4cb18c6
								
							
						
					
					
						commit
						1609c63f3b
					
				
					 20 changed files with 363 additions and 361 deletions
				
			
		|  | @ -28,7 +28,7 @@ function genImages() { | |||
|             .replace(/[ -]/g, "_"); | ||||
|         module += `    public static ${name} = "${svg}"\n` | ||||
|         module += `    public static ${name}_img = Img.AsImageElement(Svg.${name})\n` | ||||
|         module += `    public static ${name}_svg() { return new FixedUiElement(Svg.${name});}\n` | ||||
|         module += `    public static ${name}_svg() { return new Img(Svg.${name}, true);}\n` | ||||
|         module += `    public static ${name}_ui() { return new FixedUiElement(Svg.${name}_img);}\n\n` | ||||
|         allNames.push(`"${path}": Svg.${name}`) | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue