Fix list's scrollwheel direction

Max Brunsfeld and Nathan Sobo created

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

gpui/src/elements/list.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

gpui/src/elements/list.rs 🔗

@@ -439,7 +439,7 @@ impl StateInner {
         }
 
         let scroll_max = (self.items.summary().height - height).max(0.);
-        let new_scroll_top = (self.scroll_top(scroll_top) + delta.y())
+        let new_scroll_top = (self.scroll_top(scroll_top) - delta.y())
             .max(0.)
             .min(scroll_max);