mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
only check .isIntersection for nodes
This commit is contained in:
@@ -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%');
|
||||
|
||||
Reference in New Issue
Block a user