perf(render): v3.26.140 对齐 108(world/grid 常驻合成 + 裁剪边距 240/80)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m2s

This commit is contained in:
qiqi committed 2026-11-30 21:40:34 +08:00
1 parent b841a9103f
commit 20a67d4c38
8 files changed
+21 -11

No files matched your search

+4 -2
View File
@@ -1207,10 +1207,12 @@ body .iwb-history-embedded .iwb-history-item.iwb-history-selected:hover img {
/* v12:世界容器提升为合成层(节点随世界一起 transform,不单独建层) */
/* v3.26.136:合成层常驻提升改为可开关(诊断页)。默认关 —— 默认开启时整个画布世界会被提升成一个
巨大的常驻合成层,实测 WebContent graphics 764MB。需要时(低端机拖拽掉帧)可以打开。 */
:root[data-layers="on"] .iwb-world { will-change: transform; }
.iwb-world { will-change: transform; }
:root[data-layers="off"] .iwb-world { will-change: auto; } /* v3.26.140:开关改成「关闭合成层」(省内存但会卡),默认关 */
/* v3.26.137:毛玻璃开关(诊断页)。关掉后所有 backdrop-filter 失效,用于二分 graphics 占用 */
:root[data-noblur="on"] *, :root[data-noblur="on"] *::before, :root[data-noblur="on"] *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
:root[data-layers="on"] .iwb-grid { will-change: transform; }
.iwb-grid { will-change: transform; }
:root[data-layers="off"] .iwb-grid { will-change: auto; }
/* v15:左侧资源面板展开时浮在画布上层,不移动画布位置 */
.iwb-overlay.drawer-open .iwb-canvas { left: 0 !important; }
/* 停靠栏时代:工具栏/小地图按 --iwb-dock-* 让位(画布仍不动) */