clone: avoid some unnecessary property checks
This commit is contained in:
parent
e56340fd11
commit
da4252c6da
2 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- bug fixes
|
||||
- multixy: `default` not applied when points are named
|
||||
- clone: avoid some unnecessary property checks
|
||||
|
||||
- client
|
||||
- show 3-dots menu in read-only mode with access to allowed items (e.g fullscreen)
|
||||
|
|
|
|||
|
|
@ -96,8 +96,12 @@ class Clone extends Container() {
|
|||
}, {context: this})
|
||||
|
||||
widgetManager.on('prop-changed', (e)=>{
|
||||
// watch for prop changes initiated by the editor
|
||||
// Other changes (from advanced syntaxes) are already
|
||||
// handled by standard widget mechanicsé
|
||||
|
||||
if (!this.cloneTarget) return
|
||||
if (!e.options.fromEditor) return
|
||||
|
||||
if (e.widget === this.cloneTarget || this.cloneTarget.contains(e.widget)) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue