mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-01 04:09:17 +00:00
fix: preserve resize undo through write repair
Issue: #293 User-Visible: yes
This commit is contained in:
@@ -298,6 +298,17 @@ export const MUTANTS = [
|
||||
replace: ' safe = true;',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'resize-history-boundary-repair-removed',
|
||||
guard: 'node demo/smoke_resize_pointer_real_plan.mjs',
|
||||
because: 'write-time wall degradation must not erase the one Resize Undo command; '
|
||||
+ 'the strict outbound barrier remains authoritative after the local restore (#293)',
|
||||
patches: [{
|
||||
file: 'src/houseplan-card.ts',
|
||||
find: " && check?.reason === 'wall-degraded-extra');",
|
||||
replace: ' && false);',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'resize-pointer-delta-zeroed',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
|
||||
Reference in New Issue
Block a user