Skip to content

Commit c7db3d3

Browse files
Created instace of eventBus to for propoer initalization of Draw class (#24)
2 parents f98f993 + 734c16f commit c7db3d3

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)