mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Don't highlight the selected entity when hovering over issues in the entity editor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user