We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 28b0c15 + b5a0634 commit f1d2bf3Copy full SHA for f1d2bf3
src/editor/core/draw/Draw.ts
@@ -143,7 +143,7 @@ export class Draw {
143
private intersectionPageNo: number
144
private lazyRenderIntersectionObserver: IntersectionObserver | null
145
146
- private isDestroyed = false;
+ private isDestroyed = false
147
148
constructor(
149
rootContainer: HTMLElement,
src/editor/index.ts
@@ -184,7 +184,7 @@ export default class Editor {
184
})
185
// 监听
186
this.listener = new Listener()
187
- this.eventBus = new EventBus()
+ this.eventBus = new EventBus<EventBusMap>()
188
// start up
189
const draw = new Draw(
190
container,
0 commit comments