Fix turn restrictions editor enter/update selection issues

This commit is contained in:
Bryan Housel
2016-10-30 00:01:05 -04:00
parent fbe9cf3afd
commit 8b6e5db004
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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),
+1 -1
View File
@@ -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;