fix: mini mindmap layout (#9276)

Fixes [BS-2197](https://linear.app/affine-design/issue/BS-2197/ai-生成-mindmap-预览异常)
This commit is contained in:
doouding
2024-12-24 06:55:25 +00:00
parent 338835a4aa
commit 4ead165dd5
3 changed files with 68 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
// oxlint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="./effects.ts" />
export { type IModelCoord, ZOOM_MAX, ZOOM_MIN, ZOOM_STEP } from './consts.js';
export { GRID_GAP_MAX, GRID_GAP_MIN } from './consts.js';
@@ -29,6 +29,7 @@ export {
export { fitContent } from './renderer/elements/shape/utils.js';
export * from './renderer/elements/type.js';
export { Overlay, OverlayIdentifier } from './renderer/overlay.js';
export { MindMapView } from './view/mindmap.js';
import {
getCursorByCoord,
getLineHeight,