Fix issue where inspector may not properly update after dragging a node (close #7386)

This commit is contained in:
Quincy Morgan
2020-09-02 11:46:39 -04:00
parent 6521184cf3
commit 6d9167920a
+8 -8
View File
@@ -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