mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
Remove unused string
Don't show preset browser when adding a favorite point Don't automatically open the sidebar when selecting a non-new feature
This commit is contained in:
@@ -215,8 +215,10 @@ export function uiSidebar(context) {
|
||||
var entity = context.entity(id);
|
||||
// uncollapse the sidebar
|
||||
if (selection.classed('collapsed')) {
|
||||
var extent = entity.extent(context.graph());
|
||||
sidebar.expand(sidebar.intersects(extent));
|
||||
if (newFeature) {
|
||||
var extent = entity.extent(context.graph());
|
||||
sidebar.expand(sidebar.intersects(extent));
|
||||
}
|
||||
}
|
||||
|
||||
featureListWrap
|
||||
|
||||
Reference in New Issue
Block a user