forked from MapComplete/MapComplete
		
	More work on the custom theme generator, add aed template, move bookcases to json template
This commit is contained in:
		
							parent
							
								
									146552e62c
								
							
						
					
					
						commit
						560c8e1567
					
				
					 34 changed files with 1048 additions and 590 deletions
				
			
		|  | @ -26,9 +26,7 @@ export class WelcomeMessage extends UIElement { | |||
|         this.ListenTo(Locale.language); | ||||
| 
 | ||||
|         function fromLayout(f: (layout: Layout) => (string | UIElement)): UIElement { | ||||
|             return new VariableUiElement( | ||||
|                 State.state.layoutToUse.map((layout) => Translations.W(f(layout)).Render()) | ||||
|             ) | ||||
|             return Translations.W(f(State.state.layoutToUse.data)) | ||||
|         } | ||||
| 
 | ||||
|         this.description = fromLayout((layout) => layout.welcomeMessage); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue