Adjust scroll speeds
This commit is contained in:
parent
1e2424861d
commit
038d770200
1 changed files with 2 additions and 2 deletions
|
|
@ -1213,8 +1213,8 @@ where
|
||||||
let metrics = editor.with_buffer(|buffer| buffer.metrics());
|
let metrics = editor.with_buffer(|buffer| buffer.metrics());
|
||||||
-y * metrics.line_height
|
-y * metrics.line_height
|
||||||
}
|
}
|
||||||
ScrollDelta::Pixels { x: _, y } => y,
|
ScrollDelta::Pixels { x: _, y } => -y,
|
||||||
};
|
} * 4.0;
|
||||||
editor.action(Action::Scroll { pixels });
|
editor.action(Action::Scroll { pixels });
|
||||||
status = Status::Captured;
|
status = Status::Captured;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue