mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Properly use the "Continued an area" annotation for the second vertex in an area instead of "Started an area" (re: #7772)
This commit is contained in:
@@ -242,7 +242,7 @@ export function behaviorDrawWay(context, wayID, mode, startGraph) {
|
||||
_headNodeID = typeof _nodeIndex === 'number' ? _origWay.nodes[_nodeIndex] :
|
||||
(_origWay.isClosed() ? _origWay.nodes[_origWay.nodes.length - 2] : _origWay.nodes[_origWay.nodes.length - 1]);
|
||||
_wayGeometry = _origWay.geometry(context.graph());
|
||||
_annotation = t((_origWay.isDegenerate() ?
|
||||
_annotation = t((_origWay.nodes.length === (_origWay.isClosed() ? 2 : 1) ?
|
||||
'operations.start.annotation.' :
|
||||
'operations.continue.annotation.') + _wayGeometry
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user