mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 08:16:25 -06:00
Now with a valid style designator for RTT
This commit is contained in:
parent
5afec727e8
commit
185ad8c424
@ -86,7 +86,7 @@ export function formatRtt(rtt) {
|
||||
export function formatRetransmit(retransmits) {
|
||||
let percent = Math.min(100, retransmits) / 100;
|
||||
let color = lerpColor([0, 255, 0], [255, 0, 0], percent);
|
||||
return "<span style='color: '" + color + "'>■</span>" + retransmits + "</span>";
|
||||
return "<span style='color: " + color + "'>■</span>" + retransmits + "</span>";
|
||||
}
|
||||
|
||||
export function formatCakeStat(n) {
|
||||
|
Loading…
Reference in New Issue
Block a user