fixed: remove useless resize calls

This commit is contained in:
quenousimporte 2023-12-20 08:39:41 +01:00
parent 0042c85838
commit 6d0a9e6b1c
1 changed files with 2 additions and 2 deletions

View File

@ -328,6 +328,7 @@ function seteditorcontent(content, silent)
{
datachanged();
}
resize();
}
function encryptstring(str)
@ -2158,12 +2159,11 @@ function editorinput()
var multiline = md.value.substring(md.selectionStart, md.selectionEnd).includes("\n");
applycolors(!multiline && event.data && (event.inputType == "insertText" || event.inputType == "deleteContentBackward" || event.inputType == "deleteContentForward"));
datachanged();
resize();
}
function datachanged()
{
resize();
saved = false;
unsavedmark.hidden = !settings.sync;