Merge pull request #41 from toeverything/fix/scroll-controller-may-not-exist

fix(editor-core): scrollController not exist in Board mode
This commit is contained in:
wang xinglong
2022-08-02 23:53:58 +08:00
committed by GitHub
@@ -297,10 +297,10 @@ export class ScrollManager {
}
public lock() {
this._scrollController.lockScroll();
this._scrollController?.lockScroll();
}
public unLock() {
this._scrollController.unLockScroll();
this._scrollController?.unLockScroll();
}
}