fix: add a workaround to fix window freezing when viewing a large file #992

pull/993/head
Oleg Lobanov 2020-06-18 19:21:02 +02:00
parent 9eefaddd9b
commit 241201657c
No known key found for this signature in database
GPG Key ID: 7CC64E41212621B0
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export default {
const fileContent = this.req.content || '';
this.editor = ace.edit('editor', {
maxLines: Infinity,
maxLines: 80,
minLines: 20,
value: fileContent,
showPrintMargin: false,