mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
test: восстановить защиту перехода редактора (#660)
Предрелизный гейт снова держит лимит монолитного файла, а защитный мутант #648 привязан к новой формуле общего бюджета сцены и панели. Мутант предметно краснит smoke_sections_resize. Issue: #660 User-Visible: no
This commit is contained in:
@@ -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 */',
|
||||
}],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user