mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-28 19:01:31 +02:00
Suppress radial menu when selecting feature from search results
This commit is contained in:
@@ -223,7 +223,7 @@ iD.ui.FeatureList = function(context) {
|
||||
context.map().centerZoom([d.location[1], d.location[0]], 20);
|
||||
}
|
||||
else if (d.entity) {
|
||||
context.enter(iD.modes.Select(context, [d.entity.id]));
|
||||
context.enter(iD.modes.Select(context, [d.entity.id]).suppressMenu(true));
|
||||
} else {
|
||||
context.zoomToEntity(d.id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user