Changeset - e43dcabbf9ba
[Not reviewed]
default
0 1 0
David McClosky - 18 years ago 2007-06-16 00:42:49
dmcc@bigasterisk.com
keyboardcomposer: fix hw slider off by one bug
1 file changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
bin/keyboardcomposer
Show inline comments
 
@@ -198,10 +198,9 @@ class KeyboardComposer(Frame, SubClient)
 
        row = self.rows[self.current_row]
 
        self.keyhints.pack_configure(before=row)
 

	
 
        for col in range(8):
 
        for col in range(1, 9):
 
            try:
 
                subtk = self.slider_table[(self.current_row, col)]
 
                col += 1
 
                subtk = self.slider_table[(self.current_row, col - 1)]
 
                self.sliders.valueOut("button-upper%d" % col, 127)
 
            except KeyError:
 
                # unfilled bottom row has holes (plus rows with incomplete
0 comments (0 inline, 0 general)