only check .isIntersection for nodes

This commit is contained in:
Martin Raifer
2014-05-27 15:19:47 +02:00
parent 1f2420e599
commit a796d4b1ea
+1 -1
View File
@@ -35,7 +35,7 @@ iD.ui.Inspector = function(context) {
entity = context.entity(entityID),
showEditor = state === 'hover' ||
entity.isUsed(graph) ||
entity.isIntersection(graph);
(entity.type === 'node' && entity.isIntersection(graph));
if (showEditor) {
$wrap.style('right', '0%');