forked from MapComplete/MapComplete
		
	Stabilize adding new points
This commit is contained in:
		
							parent
							
								
									d3c26c4f0e
								
							
						
					
					
						commit
						a3c16d6297
					
				
					 11 changed files with 249 additions and 257 deletions
				
			
		|  | @ -57,7 +57,6 @@ export default class SimpleAddUI extends Toggle { | |||
| 
 | ||||
| 
 | ||||
|         function createNewPoint(tags: any[], location: { lat: number, lon: number }, snapOntoWay?: OsmWay) { | ||||
|             console.trace("Creating a new point") | ||||
|             const newElementAction = new CreateNewNodeAction(tags, location.lat, location.lon, {snapOnto: snapOntoWay}) | ||||
|             State.state.changes.applyAction(newElementAction) | ||||
|             selectedPreset.setData(undefined) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue