From 038d770200620c05f1a83be3abcf938a985c8d2f Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 7 Sep 2025 19:57:47 -0600 Subject: [PATCH] Adjust scroll speeds --- src/text_box.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text_box.rs b/src/text_box.rs index 9f85b11..0414daf 100644 --- a/src/text_box.rs +++ b/src/text_box.rs @@ -1213,8 +1213,8 @@ where let metrics = editor.with_buffer(|buffer| buffer.metrics()); -y * metrics.line_height } - ScrollDelta::Pixels { x: _, y } => y, - }; + ScrollDelta::Pixels { x: _, y } => -y, + } * 4.0; editor.action(Action::Scroll { pixels }); status = Status::Captured; }