refactor(editor): add gfx entry in bs global package (#10612)

This commit is contained in:
Saul-Mirone
2025-03-04 12:46:50 +00:00
parent 5ad3d3c94a
commit 66d9d576e0
216 changed files with 341 additions and 397 deletions
@@ -1,5 +1,6 @@
import { IS_IPAD } from '@blocksuite/global/env';
import { nextTick, Vec } from '@blocksuite/global/utils';
import { Vec } from '@blocksuite/global/gfx';
import { nextTick } from '@blocksuite/global/utils';
import { UIEventState, UIEventStateContext } from '../base.js';
import type { UIEventDispatcher } from '../dispatcher.js';
@@ -1,4 +1,4 @@
import type { IPoint } from '@blocksuite/global/utils';
import type { IPoint } from '@blocksuite/global/gfx';
export function isFarEnough(a: IPoint, b: IPoint) {
const dx = a.x - b.x;