mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
double auto-scroll threshold to 100 lines
it is more important that we not be surprising or annoying than we hide moderately long output.
This commit is contained in:
parent
da17f26fbe
commit
fae43d51d4
@ -62,7 +62,7 @@ var IPython = (function (IPython) {
|
|||||||
|
|
||||||
OutputArea.prototype._should_scroll = function (lines) {
|
OutputArea.prototype._should_scroll = function (lines) {
|
||||||
if (!lines) {
|
if (!lines) {
|
||||||
lines = 50;
|
lines = 100;
|
||||||
}
|
}
|
||||||
// line-height from http://stackoverflow.com/questions/1185151
|
// line-height from http://stackoverflow.com/questions/1185151
|
||||||
var fontSize = this.element.css('font-size');
|
var fontSize = this.element.css('font-size');
|
||||||
|
Loading…
Reference in New Issue
Block a user