Преглед изворни кода

code-editor: disable depreacation warning

Alexander Zobnin пре 8 година
родитељ
комит
ecb66e7678
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      public/app/core/components/code_editor/code_editor.ts

+ 1 - 0
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();