Skip to content

Commit

Permalink
Update PropertyInfoPlugin.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslan-moskovenko authored Aug 18, 2023
1 parent 4c38d8a commit b55f55b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions client/PropertyInfoPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,15 @@ function PropertyInfoPlugin(eventBus, overlays, elementRegistry, editorActions)
t < transactionObject.length || e < elementObject.length || i < idsObject.length;
t++, e++, i++
) {
overlays.remove(transactionObject[t]);
overlays.remove(elementObject[e]);
overlays.remove(idsObject[i]);
if (transactionObject[t] !== undefined) {
overlays.remove(transactionObject[t]);
}
if (elementObject[e] !== undefined) {
overlays.remove(elementObject[e]);
}
if (idsObject[i] !== undefined) {
overlays.remove(idsObject[i]);
}
}

delete mainElementOverlays[element.id];
Expand Down

0 comments on commit b55f55b

Please sign in to comment.