remove commented code.

This commit is contained in:
Christopher Jeffrey 2015-01-15 13:32:50 -08:00
parent 20dce38741
commit 5300702e34
1 changed files with 0 additions and 3 deletions

View File

@ -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();
} }
} }