From ec2e0e1de168f9f4551f86ff73b070a6e4ccdd77 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 15 Mar 2023 15:25:45 +0100 Subject: [PATCH] fix: use correct snapping --- UI/BigComponents/SimpleAddUI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/BigComponents/SimpleAddUI.ts b/UI/BigComponents/SimpleAddUI.ts index cc2d72e6c..46c252ccb 100644 --- a/UI/BigComponents/SimpleAddUI.ts +++ b/UI/BigComponents/SimpleAddUI.ts @@ -291,7 +291,7 @@ export default class SimpleAddUI extends LoginToggle { layer.layerDef.mapRendering[0] .GenerateLeafletStyle( new ImmutableStore( - isSnapping ? tags : { _referencing_ways: '["way/-1"]', ...tags } + isSnapping ? { _referencing_ways: '["way/-1"]', ...tags } : tags ), false, { noSize: true }