forked from MapComplete/MapComplete
		
	Fix various bugs
This commit is contained in:
		
							parent
							
								
									30f4be183e
								
							
						
					
					
						commit
						5284f198d8
					
				
					 26 changed files with 339 additions and 119 deletions
				
			
		|  | @ -239,7 +239,7 @@ export default class AvailableBaseLayersImplementation implements AvailableBaseL | |||
|                     prefered = preferedCategory.data; | ||||
|                 } | ||||
| 
 | ||||
|                 prefered.reverse(); | ||||
|                 prefered.reverse(/*New list, inplace reverse is fine*/); | ||||
|                 for (const category of prefered) { | ||||
|                     //Then sort all 'photo'-layers to the top. Stability of the sorting will force a 'best' photo layer on top
 | ||||
|                     available.sort((a, b) => { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue