Don't highlight the selected entity when hovering over issues in the entity editor

This commit is contained in:
Quincy Morgan
2019-02-11 10:58:47 -05:00
parent ceee3c1a4b
commit 01b0c618d1
+6 -2
View File
@@ -66,12 +66,16 @@ export function uiEntityIssues(context) {
})
.on('mouseover.highlight', function(d) {
d.entities.forEach(function(entity) {
utilHighlightEntity(entity.id, true, context);
if (entity.id !== _entityID) {
utilHighlightEntity(entity.id, true, context);
}
});
})
.on('mouseout.highlight', function(d) {
d.entities.forEach(function(entity) {
utilHighlightEntity(entity.id, false, context);
if (entity.id !== _entityID) {
utilHighlightEntity(entity.id, false, context);
}
});
});