feat: scroll results beneath transparent launcher bars
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user