perf(*): 创作工作台 - 优化首页按需加载与画布交互并修复历史迁移冲突
This commit is contained in:
@@ -506,13 +506,16 @@ export type ConnectionHandle = {
|
||||
anchorRatio?: number;
|
||||
};
|
||||
|
||||
export type CanvasSelectionStrategy = "replace" | "add" | "toggle" | "subtract";
|
||||
export type CanvasSelectionHitMode = "contain" | "intersect";
|
||||
|
||||
export type SelectionBox = {
|
||||
startWorldX: number;
|
||||
startWorldY: number;
|
||||
currentWorldX: number;
|
||||
currentWorldY: number;
|
||||
additive: boolean;
|
||||
subtractive: boolean;
|
||||
strategy: CanvasSelectionStrategy;
|
||||
hitMode: CanvasSelectionHitMode;
|
||||
initialSelectedNodeIds: string[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user