test: восстановить защиту перехода редактора (#660)

Предрелизный гейт снова держит лимит монолитного файла, а защитный мутант #648 привязан к новой формуле общего бюджета сцены и панели. Мутант предметно краснит smoke_sections_resize.

Issue: #660
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-26 12:42:03 +03:00
parent f11c2a4c5d
commit 85119fd9a2
3 changed files with 16 additions and 19 deletions
+2 -2
View File
@@ -1217,8 +1217,8 @@ const MUTANT_DEFINITIONS = [
+ 'window.innerHeight makes the animated stage escape the card at minimum height (#648 AC5)',
patches: [{
file: 'src/houseplan-card.ts',
find: '(containerOwnedHeight ? this.clientHeight : innerHeight)',
replace: 'innerHeight /* mutant: ignore the fixed Sections slot */',
find: 'from.stageHeight + from.editorChromeHeight - targetChromeHeight',
replace: 'innerHeight - targetChromeHeight /* mutant: ignore the fixed card budget */',
}],
},
{