summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-02 01:18:29 +0200
committerhut <hut@lavabit.com>2010-05-02 01:18:29 +0200
commit7e0c69f3a4c3e204b4da2fbbd10ee7c0d40da4b8 (patch)
tree96e3c1406eb0414a74e7a78be93d912adeec1641
parente924cf9916cfa8d176ae258814dd07c67c69be69 (diff)
downloadranger-7e0c69f3a4c3e204b4da2fbbd10ee7c0d40da4b8.tar.gz
bugfix: scroll faster with ctrl
-rw-r--r--ranger/gui/widgets/browserview.py2
1 files changed, 1 insertions, 1 deletions
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: