Skip to content

Commit 734c16f

Browse files
committed
fix: created instace of eventBus to for propoer initalization of Draw class
1 parent f98f993 commit 734c16f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/editor/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ export default class Editor {
184184
})
185185
// 监听
186186
this.listener = new Listener()
187+
this.eventBus = new EventBus()
187188
// start up
188189
const draw = new Draw(
189190
container,

0 commit comments

Comments
 (0)