forked from MapComplete/MapComplete
		
	Fix common misspelling of 'enableImproveAccuracy', see #1928
This commit is contained in:
		
							parent
							
								
									6c12041f73
								
							
						
					
					
						commit
						8e70ecce8a
					
				
					 13 changed files with 18 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -33,6 +33,12 @@ export class UpdateLegacyLayer extends DesugaringStep<
 | 
			
		|||
            delete config["overpassTags"]
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if(config.allowMove?.["enableImproveAccuraccy"]){
 | 
			
		||||
            // Fix common misspelling: 'accuracy' is often typo'ed as 'accuraCCy'
 | 
			
		||||
            config.allowMove["enableImproveAccuracy"] = config.allowMove["enableImproveAccuraccy"]
 | 
			
		||||
            delete config.allowMove["enableImproveAccuraccy"]
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        for (const preset of config.presets ?? []) {
 | 
			
		||||
            const preciseInput = preset["preciseInput"]
 | 
			
		||||
            if (typeof preciseInput === "boolean") {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue