forked from MapComplete/MapComplete
		
	Fix snapping to layers for the import button
This commit is contained in:
		
							parent
							
								
									4f403c4bfc
								
							
						
					
					
						commit
						ae045b75cf
					
				
					 3 changed files with 14 additions and 9 deletions
				
			
		|  | @ -98,7 +98,8 @@ export default class ConfirmLocationOfPoint extends Combine { | |||
|             ]).SetClass("flex flex-col") | ||||
|         ).SetClass("font-bold break-words") | ||||
|             .onClick(() => { | ||||
|                 confirm(preset.tags, (preciseInput?.GetValue()?.data ?? loc), preciseInput?.snappedOnto?.data?.properties?.id); | ||||
|                 console.log("The confirmLocationPanel - precise input yielded ", preciseInput?.GetValue()?.data) | ||||
|                 confirm(preset.tags, preciseInput?.GetValue()?.data ?? loc, preciseInput?.snappedOnto?.data?.properties?.id); | ||||
|             }); | ||||
| 
 | ||||
|         if (preciseInput !== undefined) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue