Connection status charts now use different color to distinguish statistics of current connection from past ones

This commit is contained in:
NI
2019-10-02 23:16:53 +08:00
parent e77ad353f0
commit f2f2c4352d
4 changed files with 24 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ export function build(ctx) {
let r = [];
for (let i = 0; i < 32; i++) {
r.push(0);
r.push({ data: 0, class: "" });
}
return r;
@@ -165,6 +165,9 @@ export function build(ctx) {
},
close(e) {
isClosed = true;
delayHistory.expire();
inboundHistory.expire();
outboundHistory.expire();
ctx.connector.inputting = false;