forked from MapComplete/MapComplete
		
	Add presets to custom theme generator, fix simpleAddUI
This commit is contained in:
		
							parent
							
								
									9a420efa98
								
							
						
					
					
						commit
						3d05999f85
					
				
					 10 changed files with 90 additions and 36 deletions
				
			
		
							
								
								
									
										7
									
								
								State.ts
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								State.ts
									
										
									
									
									
								
							|  | @ -238,12 +238,9 @@ export class State { | |||
|         }).ping() | ||||
| 
 | ||||
|         this.layoutToUse.map((layoutToUse) => { | ||||
|                 if (layoutToUse === undefined) { | ||||
|                     return "MapComplete"; | ||||
|                 } | ||||
|                 return Translations.W(layoutToUse.title).InnerRender() | ||||
|                 return Translations.WT(layoutToUse?.title)?.txt ?? "MapComplete" | ||||
|             }, [Locale.language] | ||||
|         ).addCallback((title) => { | ||||
|         ).addCallbackAndRun((title) => { | ||||
|             document.title = title | ||||
|         }); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue