From f8c3fe78711e540ba01aa8276a9b2b9c160e15af 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 e485b6f3635d5533e037b2b4d5fc0975cea960cf..3a98b5950dccb1d90df1c930a03cc8bd7caddd69 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -1594,7 +1594,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(),