Keep errors, elements and comments consistent (#2340)

Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
Lipis
2020-11-05 18:06:18 +01:00
committed by GitHub
co-authored by David Luzar
parent 2a20c44338
commit 5d295415db
22 changed files with 96 additions and 98 deletions
+1 -2
View File
@@ -167,8 +167,7 @@ class Portal {
const newElements = sceneElements
.reduce((elements, element) => {
// if the remote element references one that's currently
// edited on local, skip it (it'll be added in the next
// step)
// edited on local, skip it (it'll be added in the next step)
if (
element.id === this.app.state.editingElement?.id ||
element.id === this.app.state.resizingElement?.id ||