提交 c19d301d 编写于 作者: A Alex Dima

Change the default `editor.smoothScrolling` to false (match stable default behaviour)

上级 e60ab233
...@@ -268,7 +268,7 @@ export interface IEditorOptions { ...@@ -268,7 +268,7 @@ export interface IEditorOptions {
scrollBeyondLastLine?: boolean; scrollBeyondLastLine?: boolean;
/** /**
* Enable that the editor animates scrolling to a position. * Enable that the editor animates scrolling to a position.
* Defaults to true. * Defaults to false.
*/ */
smoothScrolling?: boolean; smoothScrolling?: boolean;
/** /**
...@@ -2139,7 +2139,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = { ...@@ -2139,7 +2139,7 @@ export const EDITOR_DEFAULTS: IValidatedEditorOptions = {
cursorStyle: TextEditorCursorStyle.Line, cursorStyle: TextEditorCursorStyle.Line,
hideCursorInOverviewRuler: false, hideCursorInOverviewRuler: false,
scrollBeyondLastLine: true, scrollBeyondLastLine: true,
smoothScrolling: true, smoothScrolling: false,
stopRenderingLineAfter: 10000, stopRenderingLineAfter: 10000,
renderWhitespace: 'none', renderWhitespace: 'none',
renderControlCharacters: false, renderControlCharacters: false,
......
...@@ -2821,7 +2821,7 @@ declare module monaco.editor { ...@@ -2821,7 +2821,7 @@ declare module monaco.editor {
scrollBeyondLastLine?: boolean; scrollBeyondLastLine?: boolean;
/** /**
* Enable that the editor animates scrolling to a position. * Enable that the editor animates scrolling to a position.
* Defaults to true. * Defaults to false.
*/ */
smoothScrolling?: boolean; smoothScrolling?: boolean;
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册