fixed: remove useless resize calls
This commit is contained in:
parent
0042c85838
commit
6d0a9e6b1c
4
main.js
4
main.js
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue