From 4a96a5c9ff1367e6a10fc5afccab7aaea522ebc7 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Thu, 16 Sep 2021 11:46:53 +0200 Subject: [PATCH] Use a negative delta to scroll down in layout unit test for `List` --- gpui/src/elements/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpui/src/elements/list.rs b/gpui/src/elements/list.rs index 34b8427229..3864bf3c80 100644 --- a/gpui/src/elements/list.rs +++ b/gpui/src/elements/list.rs @@ -603,7 +603,7 @@ mod tests { offset_in_item: 0., }, 40., - vec2f(0., 54.), + vec2f(0., -54.), true, &mut presenter.build_event_context(cx), );