mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
Fix turn restrictions editor enter/update selection issues
This commit is contained in:
@@ -55,8 +55,10 @@ export function svgTurns(projection) {
|
||||
.attr('height', '32');
|
||||
|
||||
|
||||
groups = groups
|
||||
.merge(enter);
|
||||
|
||||
groups
|
||||
.merge(enter)
|
||||
.attr('transform', function (turn) {
|
||||
var v = graph.entity(turn.via.node),
|
||||
t = graph.entity(turn.to.node),
|
||||
|
||||
@@ -69,7 +69,7 @@ export function uiFieldRestrictions(field, context) {
|
||||
extent = geoExtent(),
|
||||
projection = geoRawMercator();
|
||||
|
||||
var d = utilGetDimensions(wrap),
|
||||
var d = utilGetDimensions(wrap.merge(enter)),
|
||||
c = [d[0] / 2, d[1] / 2],
|
||||
z = 24;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user