remove commented code.
This commit is contained in:
parent
20dce38741
commit
5300702e34
|
@ -1423,10 +1423,7 @@ Screen.prototype._focus = function(self, old) {
|
||||||
el.scrollTo(self.rtop);
|
el.scrollTo(self.rtop);
|
||||||
self.screen.render();
|
self.screen.render();
|
||||||
} else if (self.rtop + self.height - self.ibottom > el.childBase + visible) {
|
} else if (self.rtop + self.height - self.ibottom > el.childBase + visible) {
|
||||||
// el.scrollTo(self.rtop);
|
|
||||||
// el.scrollTo(self.rtop - (visible - self.height));
|
|
||||||
el.scrollTo(self.rtop + self.height);
|
el.scrollTo(self.rtop + self.height);
|
||||||
// el.scrollTo(self.rtop + self.height - (visible - self.height));
|
|
||||||
self.screen.render();
|
self.screen.render();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue