From b4318861882119656250149be20c3ed821fcfdd1 Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Thu, 24 Apr 2025 00:26:19 +0200 Subject: [PATCH] editor: Fix broken mouse scrolling on main (#29307) This PR is a quick follow-up to #29234 , which unfortunately broke scrolling with the mouse in editors on main. The linked PR introduced the possiblilty to completely disable scrolling for editors. Unfortunately, it also disabled scrolling for editors by default. This PR fixes this by re-enabling it by default. This change also needs to be backported to v0.184.x. Otherwise, mouse scrolling in the next preview release will not work! Release Notes: - N/A --- crates/editor/src/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index e50f9dc446314df8da8c534a6ec0941f7d3317e1..991e2f27cbe935da6fa096548943073173589ca8 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -1568,7 +1568,7 @@ impl Editor { blink_manager: blink_manager.clone(), show_local_selections: true, show_scrollbars: true, - disable_scrolling: true, + disable_scrolling: false, mode, show_breadcrumbs: EditorSettings::get_global(cx).toolbar.breadcrumbs, show_gutter: mode.is_full(),