forked from MapComplete/MapComplete
		
	Refactoring: remove _img from Svg.ts
This commit is contained in:
		
							parent
							
								
									5a2e54b00a
								
							
						
					
					
						commit
						15063f9be0
					
				
					 3 changed files with 4 additions and 6 deletions
				
			
		|  | @ -87,7 +87,7 @@ export default class PointRenderingConfig extends WithContextLoader { | |||
|         const iconPath = this.icon?.GetRenderValue({ id: "node/-1" })?.txt | ||||
|         if (iconPath !== undefined && iconPath.startsWith(Utils.assets_path)) { | ||||
|             const iconKey = iconPath.substr(Utils.assets_path.length) | ||||
|             if (Constants.defaultPinIcons.indexOf(iconKey) < 0) { | ||||
|             if (Svg.All[iconKey] === undefined) { | ||||
|                 throw context + ": builtin SVG asset not found: " + iconPath | ||||
|             } | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue