mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(editor-core): scrollController not exist in Board mode
This commit is contained in:
@@ -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