noop: rename internal event for better clarity

This commit is contained in:
jean-emmanuel 2025-12-29 18:38:53 +01:00
parent 4627fa9c02
commit 8cf854af2e
2 changed files with 2 additions and 2 deletions

View file

@ -1002,7 +1002,7 @@ class Widget extends EventEmitter {
// emit prop-changed event if not already
// to make sure an advanced syntax changes don't go unnoticed by clone
var unNotified = propNames.filter(n => !changedProps.includes(n))
widgetManager.trigger('prop-changed-maybe', {
widgetManager.trigger('prop-src-changed', {
id: this.getProp('id'),
props: unNotified,
widget: this,

View file

@ -114,7 +114,7 @@ class Clone extends Container() {
widgetManager.on('prop-changed', onPropChanged, {context: this})
// see common/widget.js @ updateProps()
widgetManager.on('prop-changed-maybe', onPropChanged, {context: this})
widgetManager.on('prop-src-changed', onPropChanged, {context: this})
this.on('widget-created', (e)=>{