fix(canvas): 画布批量生成 - 修复节点丢失、资源引用及刷新状态不一致
This commit is contained in:
1 parent
dc1ad68015
commit
6f45240599
26 files changed
+533
-179
No files matched your search
@@ -2,9 +2,7 @@ import { CanvasNodeType, type CanvasMediaPerformanceMode, type CanvasNodeData }
|
||||
|
||||
const STORAGE_KEY = "canvas-media-performance-mode";
|
||||
|
||||
// The DOM budget is deliberately below the connection budget. Image-heavy
|
||||
// canvases pay a texture/compositing cost per mounted card, even when the
|
||||
// cards themselves are already virtualized spatially.
|
||||
// 屏外预加载的软预算;屏内节点不可因预算而消失,媒体仍由节点按需加载。
|
||||
export const CANVAS_MAX_RENDERED_NODES = 720;
|
||||
export const CANVAS_MAX_RENDERED_CONNECTIONS = 5000;
|
||||
|
||||
|
||||
Reference in new issue
Block a user