恢复背景效果
This commit is contained in:
@@ -647,11 +647,7 @@
|
||||
|
||||
// Flash animation
|
||||
if (previousMetrics) {
|
||||
[dom.cpuPercent, dom.memPercent, dom.diskPercent, dom.totalBandwidthTx, dom.totalBandwidthRx].forEach(el => {
|
||||
el.classList.remove('value-update');
|
||||
void el.offsetWidth; // Force reflow
|
||||
el.classList.add('value-update');
|
||||
});
|
||||
// No flash on update
|
||||
}
|
||||
|
||||
previousMetrics = data;
|
||||
|
||||
Reference in New Issue
Block a user