From bb4d12ef334bcd1d7a93d335507a79ac7a5b7eec Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Tue, 16 Dec 2025 17:26:13 +0100 Subject: [PATCH] Fix plot labels translations They wouldn't change on settings changes --- client/scenes/stream_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scenes/stream_gui.cpp b/client/scenes/stream_gui.cpp index 52e17396..b917f29b 100644 --- a/client/scenes/stream_gui.cpp +++ b/client/scenes/stream_gui.cpp @@ -167,7 +167,7 @@ void scenes::stream::gui_performance_metrics() ImVec2 window_size = ImGui::GetWindowSize() - ImVec2(2, 2) * style.WindowPadding; - static const std::array plots = { + const std::array plots = { // clang-format off plot(_("CPU time"), {{"", &global_metric::cpu_time}}, "s"),