fix: limit throttling text length

This commit is contained in:
Ilya Zlobintsev
2024-11-06 15:47:37 +02:00
parent 88ba80c21b
commit 45c299c634

View File

@@ -85,7 +85,7 @@ impl GpuStatsSection {
out
})
.collect();
let text = type_text.join(", ");
let text: String = type_text.join(", ").chars().take(30).collect();
self.set_throttling(text);
}
}