mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-24 18:00:45 +00:00
Revert "fix: ListTable without borders. fixes #152."
This reverts commit 89f54e3be49dc62e1d20bf3788dcdf837cde7424.
This commit is contained in:
parent
d64e5f04ff
commit
672efc5a3f
@ -53,10 +53,11 @@ function ListTable(options) {
|
||||
|
||||
this.on('scroll', function() {
|
||||
self._header.setFront();
|
||||
self._header.rtop = self.childBase + (self.border ? 1 : 0);
|
||||
// if (!self.screen.autoPadding) {
|
||||
// self._header.rtop = self.childBase;
|
||||
// }
|
||||
var visible = self.height - self.iheight;
|
||||
self._header.rtop = 1 + self.childBase - (self.border ? 1 : 0);
|
||||
if (!self.screen.autoPadding) {
|
||||
self._header.rtop = 1 + self.childBase;
|
||||
}
|
||||
});
|
||||
|
||||
this.pad = options.pad != null
|
||||
|
Loading…
x
Reference in New Issue
Block a user