mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Fix issue where inspector may not properly update after dragging a node (close #7386)
This commit is contained in:
@@ -294,15 +294,15 @@ export function uiSidebar(context) {
|
||||
.classed('inspector-hidden', false)
|
||||
.classed('inspector-hover', false);
|
||||
|
||||
if (!inspector.entityIDs() || !utilArrayIdentical(inspector.entityIDs(), ids) || inspector.state() !== 'select') {
|
||||
inspector
|
||||
.state('select')
|
||||
.entityIDs(ids)
|
||||
.newFeature(newFeature);
|
||||
// reload the UI even if the ids are the same since the entities
|
||||
// themselves may have changed
|
||||
inspector
|
||||
.state('select')
|
||||
.entityIDs(ids)
|
||||
.newFeature(newFeature);
|
||||
|
||||
inspectorWrap
|
||||
.call(inspector);
|
||||
}
|
||||
inspectorWrap
|
||||
.call(inspector);
|
||||
|
||||
} else {
|
||||
inspector
|
||||
|
||||
Reference in New Issue
Block a user