summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-15 16:36:16 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-15 16:36:16 +0100
commit5a6f9f92cb953b325595cc67ce2cab6fbaffbc4c (patch)
tree37f4b2eb57b350eefb2b250c86a0f30a53f491f8 /src
parent83e52d55f2e4fb544ebf7d9463d3a4b325923a6b (diff)
downloadpoezio-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')
-rw-r--r--src/windows.py4
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