fix(editor-core): scrollController not exist in Board mode
This commit is contained in:
1 parent
d36fbd82f9
commit
329263d049
1 file changed
+2
-2
@@ -297,10 +297,10 @@ export class ScrollManager {
|
||||
}
|
||||
|
||||
public lock() {
|
||||
this._scrollController.lockScroll();
|
||||
this._scrollController?.lockScroll();
|
||||
}
|
||||
|
||||
public unLock() {
|
||||
this._scrollController.unLockScroll();
|
||||
this._scrollController?.unLockScroll();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user