forked from MapComplete/MapComplete
		
	Minor fix
This commit is contained in:
		
							parent
							
								
									e3309dce0c
								
							
						
					
					
						commit
						539931d011
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -10,6 +10,7 @@ import Translations from "./i18n/Translations"; | |||
| import Combine from "./Base/Combine"; | ||||
| import {SubtleButton} from "./Base/SubtleButton"; | ||||
| import {VerticalCombine} from "./Base/VerticalCombine"; | ||||
| import Locale from "./i18n/Locale"; | ||||
| 
 | ||||
| interface Preset { | ||||
|     description: string | UIElement, | ||||
|  | @ -47,6 +48,7 @@ export class SimpleAddUI extends UIElement { | |||
|                 addButtons: { description: string | UIElement, name: string | UIElement; icon: string; tags: Tag[]; layerToAddTo: FilteredLayer }[], | ||||
|     ) { | ||||
|         super(zoomlevel); | ||||
|         this.ListenTo(Locale.language); | ||||
|         this._zoomlevel = zoomlevel; | ||||
|         this._lastClickLocation = lastClickLocation; | ||||
|         this._changes = changes; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue