diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-02-15 16:36:16 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-02-15 16:36:16 +0100 |
commit | 5a6f9f92cb953b325595cc67ce2cab6fbaffbc4c (patch) | |
tree | 37f4b2eb57b350eefb2b250c86a0f30a53f491f8 /src/windows.py | |
parent | 83e52d55f2e4fb544ebf7d9463d3a4b325923a6b (diff) | |
download | poezio-5a6f9f92cb953b325595cc67ce2cab6fbaffbc4c.tar.gz poezio-5a6f9f92cb953b325595cc67ce2cab6fbaffbc4c.tar.bz2 poezio-5a6f9f92cb953b325595cc67ce2cab6fbaffbc4c.tar.xz poezio-5a6f9f92cb953b325595cc67ce2cab6fbaffbc4c.zip |
Scroll user list by "height-1" lines, instead of 4
Diffstat (limited to 'src/windows.py')
-rw-r--r-- | src/windows.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |