Fix instances where adding favorite preset would not add tags

This commit is contained in:
Quincy Morgan
2019-02-27 12:27:54 -05:00
parent 2da011c3ca
commit 1058a2cb27
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ export function modeAddLine(context, customMode) {
function startFromWay(loc, edge) {
var startGraph = context.graph();
var node = osmNode({ loc: loc });
var way = osmWay();
var way = osmWay({ tags: defaultTags });
context.perform(
actionAddEntity(node),
@@ -62,7 +62,7 @@ export function modeAddLine(context, customMode) {
function startFromNode(node) {
var startGraph = context.graph();
var way = osmWay();
var way = osmWay({ tags: defaultTags });
context.perform(
actionAddEntity(way),
+1 -1
View File
@@ -42,7 +42,7 @@ export function modeAddPoint(context, customMode) {
function addWay(loc, edge) {
var node = osmNode();
var node = osmNode({ tags: defaultTags });
context.perform(
actionAddMidpoint({loc: loc, edge: edge}, node),