Add wheel_scroll_min_lines to set the minimum scrolling lines

This commit is contained in:
pagedown
2022-02-14 21:53:02 +08:00
parent 0248edbdb9
commit d2f522277c
6 changed files with 36 additions and 1 deletions
+3
View File
@@ -1272,6 +1272,9 @@ class Parser:
def wayland_titlebar_color(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['wayland_titlebar_color'] = titlebar_color(val)
def wheel_scroll_min_lines(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['wheel_scroll_min_lines'] = int(val)
def wheel_scroll_multiplier(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['wheel_scroll_multiplier'] = float(val)