fix regression from fix for #152.

This commit is contained in:
Christopher Jeffrey 2015-07-22 02:46:30 -07:00
parent 672efc5a3f
commit 600cb85909
1 changed files with 2 additions and 3 deletions

View File

@ -53,10 +53,9 @@ function ListTable(options) {
this.on('scroll', function() { this.on('scroll', function() {
self._header.setFront(); self._header.setFront();
var visible = self.height - self.iheight; self._header.rtop = self.childBase;
self._header.rtop = 1 + self.childBase - (self.border ? 1 : 0);
if (!self.screen.autoPadding) { if (!self.screen.autoPadding) {
self._header.rtop = 1 + self.childBase; self._header.rtop = self.childBase + (self.border ? 1 : 0);
} }
}); });