fix: remove scroll function for input and output textarea
This commit is contained in:
parent
c2cf535f88
commit
c51a269c6f
@ -357,7 +357,6 @@ class InputWaiter {
|
|||||||
|
|
||||||
inputText.style.overflow = "auto";
|
inputText.style.overflow = "auto";
|
||||||
inputText.classList.remove("blur");
|
inputText.classList.remove("blur");
|
||||||
inputText.scroll(0, 0);
|
|
||||||
|
|
||||||
const lines = inputData.input.length < (this.app.options.ioDisplayThreshold * 1024) ?
|
const lines = inputData.input.length < (this.app.options.ioDisplayThreshold * 1024) ?
|
||||||
inputData.input.count("\n") + 1 : null;
|
inputData.input.count("\n") + 1 : null;
|
||||||
|
|||||||
@ -718,7 +718,6 @@ class OutputWaiter {
|
|||||||
debounce(this.set, 50, "setOutput", this, [inputNum])();
|
debounce(this.set, 50, "setOutput", this, [inputNum])();
|
||||||
|
|
||||||
document.getElementById("output-html").scroll(0, 0);
|
document.getElementById("output-html").scroll(0, 0);
|
||||||
document.getElementById("output-text").scroll(0, 0);
|
|
||||||
|
|
||||||
if (changeInput) {
|
if (changeInput) {
|
||||||
this.manager.input.changeTab(inputNum, false);
|
this.manager.input.changeTab(inputNum, false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user