test(glass): cover actual collapsed sidebar sampling bounds

This commit is contained in:
InfinityPacer
2026-09-06 05:02:55 +08:00
parent 70867f6133
commit 80acc23f67
@@ -76,6 +76,7 @@ describe('createGlassNavbarDisplacementField', () => {
{ width: 127, height: 64, radius: 8 },
{ width: 127, height: 64, radius: 32 },
{ width: 260, height: 800, radius: 0 },
{ width: 68, height: 862, radius: 0 },
])('keeps two-dimensional sampling forward and inside the image for $width x $height r$radius', geometry => {
for (const deformation of [0, 48, 100])
for (const translation of [0, 48, 100])