clone: fix target prop update check

This commit is contained in:
jean-emmanuel 2024-12-28 14:24:39 +01:00
parent da4252c6da
commit 9d21bdc2b5

View file

@ -101,7 +101,7 @@ class Clone extends Container() {
// handled by standard widget mechanicsé
if (!this.cloneTarget) return
if (!e.options.fromEditor) return
if (!e.options || !e.options.fromEditor) return
if (e.widget === this.cloneTarget || this.cloneTarget.contains(e.widget)) {