feat: scroll results beneath transparent launcher bars

This commit is contained in:
Valdemar Lorenzen
2026-10-14 12:39:55 +02:00
parent f3d173d245
commit ffc8f81067
3 changed files with 7 additions and 9 deletions
@@ -19,11 +19,7 @@ func launcherFadesStayAtViewportEdgesAfterScrollingAndResizing() throws {
let pixels = try #require(context.data?.assumingMemoryBound(to: UInt8.self))
func alpha(_ y: Int) -> UInt8 { pixels[y * 800 + 100 * 4 + 3] }
#expect(alpha(0) < 20)
#expect(alpha(8) > 80 && alpha(8) < 180)
#expect(alpha(20) == 255)
#expect(alpha(height / 2) == 255)
#expect(alpha(height - 21) == 255)
#expect(alpha(height - 9) > 80 && alpha(height - 9) < 180)
#expect(alpha(height - 1) < 20)
}
}