From 5a6f9f92cb953b325595cc67ce2cab6fbaffbc4c Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 15 Feb 2011 16:36:16 +0100 Subject: Scroll user list by "height-1" lines, instead of 4 --- src/windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/windows.py b/src/windows.py index 479ec797..9ce03fa4 100644 --- a/src/windows.py +++ b/src/windows.py @@ -111,10 +111,10 @@ class UserList(Win): } def scroll_up(self): - self.pos += 4 + self.pos += self.height-1 def scroll_down(self): - self.pos -= 4 + self.pos -= self.height-1 if self.pos < 0: self.pos = 0 -- cgit v1.2.3