fix: complete double background fit delivery

Issue: #449
User-Visible: no
This commit is contained in:
Sergey Matyunin
2026-09-04 19:06:29 +03:00
parent a158d75712
commit aa51ed2bf5
28 changed files with 376 additions and 381 deletions
+7 -1
View File
@@ -102,8 +102,14 @@ export const LOW_HEADROOM_WARNING_BYTES = 15_000;
* полосы, то есть обе стороны дальше наблюдаемого шума. Общий бюджет 300 000 Б
* не меняется; его запас после функции — 5 136 Б, а долг ленивого выноса #367
* остаётся видимым через LOW_HEADROOM_WARNING.
*
* 2026-09-04, #449: потолок поднят 296 000 → 297 000. Единый распознаватель
* double-click/double-tap для свободного фона View входит в initial-граф;
* после реализации он занимает 295 743 Б gzip. Запас до потолка — 1 257 Б,
* до нижней границы полосы — 743 Б, то есть обе стороны остаются дальше
* наблюдаемого шума. Общий бюджет 300 000 Б и долг #367 не меняются.
*/
export const INITIAL_VIEW_GZIP_CEILING = 296_000;
export const INITIAL_VIEW_GZIP_CEILING = 297_000;
export const INITIAL_VIEW_CEILING_BAND = 2_000;
/**
-11
View File
@@ -1495,17 +1495,6 @@ const MUTANT_DEFINITIONS = [
replace: ' if (!candidate || candidate.pointerId !== pointerId',
}],
},
{
id: 'room-fit-enters-kiosk-double-tap-sequence',
guard: 'node demo/smoke_room_fit.mjs',
because: 'a room-owned tap must not update the kiosk free-background double-tap sequence '
+ 'or unexpectedly reset the whole plan (#152 AC8)',
patches: [{
file: 'src/houseplan-card.ts',
find: ' if (!acceptedRoom && ss && ss.id === ev.pointerId) {',
replace: ' if (ss && ss.id === ev.pointerId) {',
}],
},
{
id: 'room-fit-html-overlay-jumps-ahead',
guard: 'node demo/smoke_room_fit.mjs',