From 7e0c69f3a4c3e204b4da2fbbd10ee7c0d40da4b8 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 2 May 2010 01:18:29 +0200 Subject: bugfix: scroll faster with ctrl --- ranger/gui/widgets/browserview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py index 33418a2f..b301d7ca 100644 --- a/ranger/gui/widgets/browserview.py +++ b/ranger/gui/widgets/browserview.py @@ -233,7 +233,7 @@ class BrowserView(Widget, DisplayableContainer): def click(self, event): n = event.ctrl() and 5 or 1 - direction = event.mouse_wheel_direction() + direction = event.mouse_wheel_direction() * n if direction: self.main_column.scroll(direction) else: -- cgit 1.4.1-2-gfad0