fix: keep live pan edges covered (#544)

Issue: #544
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-09-12 20:44:05 +03:00
parent 0f06b60084
commit 6502f516f9
54 changed files with 765 additions and 376 deletions
+14
View File
@@ -7670,6 +7670,20 @@ const MUTANT_DEFINITIONS = [
replace: ' projection.translateXPercent === 1',
}],
},
{
id: 'live-pan-incoming-edge-clipped',
guard: 'node demo/smoke_live_pan_coverage.mjs',
because: '#544: a transformed SVG keeps its old viewport. Without temporarily exposing '
+ 'the scene inside the outer stage clip, the incoming edge becomes stage background '
+ 'until pointerup or a budgeted viewBox refresh; terminal screenshots miss the defect',
patches: [{
file: 'src/live-viewport.ts',
find: " if (options.exposeSceneOverflow && style.overflow !== 'visible') {\n"
+ " style.overflow = 'visible';\n"
+ ' }',
replace: '',
}],
},
{
id: 'live-pan-rewrites-viewbox-every-frame',
guard: 'node demo/smoke_live_pan_viewbox.mjs',