Small quality improvement related to the log window
parent
547a5224b5
commit
7aff2ad234
|
@ -73,7 +73,7 @@ const ServerLogRenderer = (props: { backlog?: number }) => {
|
||||||
logs.splice(0, Math.max(0, logs.length - backlog));
|
logs.splice(0, Math.max(0, logs.length - backlog));
|
||||||
logs.sort((a, b) => a.timestamp - b.timestamp);
|
logs.sort((a, b) => a.timestamp - b.timestamp);
|
||||||
setRevision(performance.now());
|
setRevision(performance.now());
|
||||||
});
|
}, logs !== "loading", [ logs ]);
|
||||||
|
|
||||||
const fixScroll = () => {
|
const fixScroll = () => {
|
||||||
if(!refContainer.current) {
|
if(!refContainer.current) {
|
||||||
|
|
Loading…
Reference in New Issue