forked from MapComplete/MapComplete
		
	Fix: loading oneway arrows on multiple layers; fix nullpointer
This commit is contained in:
		
							parent
							
								
									c823e745a3
								
							
						
					
					
						commit
						16784270ce
					
				
					 2 changed files with 20 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -312,7 +312,7 @@ export default class PointRenderingConfig extends WithContextLoader {
 | 
			
		|||
                if (cssLabel) {
 | 
			
		||||
                    label.SetStyle(cssLabel)
 | 
			
		||||
                } else if (labelOnly) {
 | 
			
		||||
                    return label.SetStyle("transform: translate(-50%, -50%);")
 | 
			
		||||
                    return label?.SetStyle("transform: translate(-50%, -50%);")
 | 
			
		||||
                }
 | 
			
		||||
                return new Combine([label]).SetClass("flex flex-col items-center")
 | 
			
		||||
            })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue