Skip to content

Commit d63073e

Browse files
committed
mend
1 parent c9528e2 commit d63073e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

helper/diffPlaces.js

+3
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ const parentGID = (item, layer) => {
168168
*/
169169
function isEquivalentIdentity(item1, item2) {
170170

171+
// Both items must be on the same layer
172+
if (item1.layer !== item2.layer) { return false; }
173+
171174
// Generate a GID value for each item
172175
const gid1 = GID(item1);
173176
const gid2 = GID(item2);

0 commit comments

Comments
 (0)