feat: add pageScaleChange eventbus #321

pr675
jinfu 2 years ago committed by GitHub
parent 8f8bc046db
commit c69758686d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -836,6 +836,9 @@ export class Draw {
if (this.listener.pageScaleChange) {
this.listener.pageScaleChange(payload)
}
if (this.eventBus.isSubscribe('pageScaleChange')) {
this.eventBus.emit('pageScaleChange', payload)
}
}
public getPagePixelRatio(): number {

Loading…
Cancel
Save