From ecb66e76783bb1a6dfa7ebdabeab9516091a5de8 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Mon, 7 Aug 2017 19:43:58 +0300 Subject: [PATCH] code-editor: disable depreacation warning --- public/app/core/components/code_editor/code_editor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/core/components/code_editor/code_editor.ts b/public/app/core/components/code_editor/code_editor.ts index 84da8d3da96..6a6e7b904f3 100644 --- a/public/app/core/components/code_editor/code_editor.ts +++ b/public/app/core/components/code_editor/code_editor.ts @@ -18,6 +18,7 @@ function link(scope, elem, attrs) { codeEditor.setTheme("ace/theme/solarized_dark"); codeEditor.setHighlightActiveLine(false); codeEditor.setShowPrintMargin(false); + codeEditor.$blockScrolling = Infinity; codeEditor.setValue(scope.content); codeEditor.clearSelection();