Skip to content

Commit 756ffcf

Browse files
elements: name plotlines
1 parent 6dfe40c commit 756ffcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hud_elements.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ void HudElements::gamescope_frame_timing(){
13511351

13521352
ImGui::PushStyleColor(ImGuiCol_FrameBg, ImVec4(0.0f, 0.0f, 0.0f, 0.0f));
13531353
if (ImGui::BeginChild("gamescope_app_window", ImVec2((ImGui::GetWindowContentRegionMax().x - ImGui::GetWindowContentRegionMin().x), 50))) {
1354-
ImGui::PlotLines("", HUDElements.gamescope_debug_app.data(),
1354+
ImGui::PlotLines("gamescope debug lines", HUDElements.gamescope_debug_app.data(),
13551355
HUDElements.gamescope_debug_app.size(), 0,
13561356
NULL, min_time, max_time,
13571357
ImVec2((ImGui::GetWindowContentRegionMax().x - ImGui::GetWindowContentRegionMin().x), 50));
@@ -1376,7 +1376,7 @@ void HudElements::gamescope_frame_timing(){
13761376
ImGui::PushStyleColor(ImGuiCol_FrameBg, ImVec4(0.0f, 0.0f, 0.0f, 0.0f));
13771377
ImGui::PushStyleColor(ImGuiCol_PlotLines, ImVec4(0,0,1,1));
13781378
if (ImGui::BeginChild("gamescope_latency_window", ImVec2((ImGui::GetWindowContentRegionMax().x - ImGui::GetWindowContentRegionMin().x), 50))) {
1379-
ImGui::PlotLines("", HUDElements.gamescope_debug_latency.data(),
1379+
ImGui::PlotLines("gamescope debug latency lines", HUDElements.gamescope_debug_latency.data(),
13801380
HUDElements.gamescope_debug_latency.size(), 0,
13811381
NULL, min_time, max_time,
13821382
ImVec2((ImGui::GetWindowContentRegionMax().x - ImGui::GetWindowContentRegionMin().x), 50));

0 commit comments

Comments
 (0)