mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
@@ -1,4 +1,7 @@
|
||||
import type { NavigatorMode } from '@blocksuite/affine-block-frame';
|
||||
import {
|
||||
type NavigatorMode,
|
||||
PresentTool,
|
||||
} from '@blocksuite/affine-block-frame';
|
||||
import { EdgelessLegacySlotIdentifier } from '@blocksuite/affine-block-surface';
|
||||
import {
|
||||
DocModeProvider,
|
||||
@@ -124,8 +127,7 @@ export class FramePanelHeader extends WithDisposable(LitElement) {
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
this._gfx.tool.setTool({
|
||||
type: 'frameNavigator',
|
||||
this._gfx.tool.setTool(PresentTool, {
|
||||
mode: this._navigatorMode,
|
||||
});
|
||||
}, 100);
|
||||
|
||||
Reference in New Issue
Block a user