创建场景时添加发布Option更新事件

This commit is contained in:
walker 2023-10-23 15:50:37 +08:00
parent 4327e3c282
commit 460a6237e3

View File

@ -636,6 +636,9 @@ abstract class GraphicSceneBase
this.on('graphicselectedchange', () => { this.on('graphicselectedchange', () => {
this.debounceEmitFunc(this); this.debounceEmitFunc(this);
}); });
// 发布选项更新事件
this.emit('options-update', this._options);
} }
abstract get app(): GraphicApp; abstract get app(): GraphicApp;