mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-19 01:23:25 +00:00
Fix regression where hovering over items in the relation dropdown wouldn't highlight them in the map (close #8134)
This commit is contained in:
@@ -39,10 +39,10 @@ export function uiSectionRawMembershipEditor(context) {
|
||||
var nearbyCombo = uiCombobox(context, 'parent-relation')
|
||||
.minItems(1)
|
||||
.fetcher(fetchNearbyRelations)
|
||||
.itemsMouseEnter(function(d) {
|
||||
.itemsMouseEnter(function(d3_event, d) {
|
||||
if (d.relation) utilHighlightEntities([d.relation.id], true, context);
|
||||
})
|
||||
.itemsMouseLeave(function(d) {
|
||||
.itemsMouseLeave(function(d3_event, d) {
|
||||
if (d.relation) utilHighlightEntities([d.relation.id], false, context);
|
||||
});
|
||||
var _inChange = false;
|
||||
|
||||
Reference in New Issue
Block a user