mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-24 04:27:27 +08:00
refactor(editor): add gfx entry in bs global package (#10612)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { IPoint } from '@blocksuite/global/utils';
|
||||
import type { IPoint } from '@blocksuite/global/gfx';
|
||||
import type { Store } from '@blocksuite/store';
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import '../declare-test-window.js';
|
||||
|
||||
import type { NoteBlockModel, NoteDisplayMode } from '@blocksuite/affine-model';
|
||||
import type { IPoint, IVec } from '@blocksuite/global/utils';
|
||||
import type { IPoint, IVec } from '@blocksuite/global/gfx';
|
||||
import { assertExists, sleep } from '@blocksuite/global/utils';
|
||||
import type { Locator, Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { clamp } from '@blocksuite/global/utils';
|
||||
import { clamp } from '@blocksuite/global/gfx';
|
||||
|
||||
export const BLOCK_CHILDREN_CONTAINER_PADDING_LEFT = 24;
|
||||
export const NOTE_MIN_WIDTH = 450 + 24 * 2;
|
||||
|
||||
Reference in New Issue
Block a user