mirror of
https://github.com/ivabus/www
synced 2024-11-10 05:45:16 +03:00
80ms > 100ms
This commit is contained in:
parent
cec58acd30
commit
d8366cf226
|
@ -28,7 +28,7 @@
|
|||
commandOutput2 += char;
|
||||
command2.input = command2.input.slice(1);
|
||||
document.querySelector('#terminal-output-2').innerHTML = commandOutput2;
|
||||
setTimeout(typeCommand2, 100);
|
||||
setTimeout(typeCommand2, 80);
|
||||
}
|
||||
|
||||
const observer2 = new IntersectionObserver((entries) => {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
commandOutput3 += char;
|
||||
command3.input = command3.input.slice(1);
|
||||
document.querySelector('#terminal-output-3').innerHTML = commandOutput3;
|
||||
setTimeout(typeCommand3, 100);
|
||||
setTimeout(typeCommand3, 80);
|
||||
}
|
||||
|
||||
const terminalOutput = document.querySelector('#terminal-output-3');
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
commandOutput4 += char;
|
||||
command4.input = command4.input.slice(1);
|
||||
document.querySelector('#terminal-output-4').innerHTML = commandOutput4;
|
||||
setTimeout(typeCommand4, 100);
|
||||
setTimeout(typeCommand4, 80);
|
||||
}
|
||||
|
||||
const terminalOutput4 = document.querySelector('#terminal-output-4');
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
if (document.querySelector(".grid-gray").contains(document.createTextNode(currentChar))) {
|
||||
setTimeout(typeCommand, 50); // Reduce timeout delay for '#' character for faster animation
|
||||
} else {
|
||||
setTimeout(typeCommand, 100);
|
||||
setTimeout(typeCommand, 80);
|
||||
}
|
||||
|
||||
document.querySelector("#terminal-output").innerHTML = commandOutput;
|
||||
|
|
Loading…
Reference in a new issue