Skip to content

Commit

Permalink
fix: circular dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Apr 22, 2024
1 parent 1df1ad0 commit b1ce879
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ import {
import type { EdgelessTool } from '../../../../_common/types.js';
import { stopPropagation } from '../../../../_common/utils/event.js';
import { getImageFilesFromLocal } from '../../../../_common/utils/filesys.js';
import {
CopilotSelectionController,
type FrameBlockModel,
} from '../../../../index.js';
import type { FrameBlockModel } from '../../../../index.js';
import { Bound, clamp } from '../../../../surface-block/index.js';
import { CopilotSelectionController } from '../../controllers/tools/copilot-tool.js';
import type { EdgelessRootBlockComponent } from '../../edgeless-root-block.js';
import { isFrameBlock } from '../../utils/query.js';
import { launchIntoFullscreen } from '../utils.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Bound } from '../../../../surface-block/index.js';
import {
AFFINE_AI_PANEL_WIDGET,
type AffineAIPanelWidget,
} from '../../../widgets/index.js';
} from '../../../widgets/ai-panel/ai-panel.js';
import { EdgelessToolController } from './index.js';

export class CopilotSelectionController extends EdgelessToolController<CopilotSelectionTool> {
Expand Down

0 comments on commit b1ce879

Please sign in to comment.