From 460a6237e3095df4f7f666d4415f84abddc416e3 Mon Sep 17 00:00:00 2001 From: walker Date: Mon, 23 Oct 2023 15:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=9C=BA=E6=99=AF=E6=97=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E5=B8=83Option=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jlgraphic/app/JlGraphicApp.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jlgraphic/app/JlGraphicApp.ts b/src/jlgraphic/app/JlGraphicApp.ts index 3510b75..ea1dfc7 100644 --- a/src/jlgraphic/app/JlGraphicApp.ts +++ b/src/jlgraphic/app/JlGraphicApp.ts @@ -636,6 +636,9 @@ abstract class GraphicSceneBase this.on('graphicselectedchange', () => { this.debounceEmitFunc(this); }); + + // 发布选项更新事件 + this.emit('options-update', this._options); } abstract get app(): GraphicApp;