From 45c299c634acafc16b14fe7bd76b4a803c98bfb1 Mon Sep 17 00:00:00 2001 From: Ilya Zlobintsev Date: Wed, 6 Nov 2024 15:47:37 +0200 Subject: [PATCH] fix: limit throttling text length --- lact-gui/src/app/root_stack/oc_page/gpu_stats_section.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lact-gui/src/app/root_stack/oc_page/gpu_stats_section.rs b/lact-gui/src/app/root_stack/oc_page/gpu_stats_section.rs index a5f4a69..25d6fe6 100644 --- a/lact-gui/src/app/root_stack/oc_page/gpu_stats_section.rs +++ b/lact-gui/src/app/root_stack/oc_page/gpu_stats_section.rs @@ -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); } }