From 8f88bb237ebd2b9fd41410aa577425ad1860fe95 Mon Sep 17 00:00:00 2001 From: Joel Linn Date: Thu, 22 Sep 2022 13:57:08 +0200 Subject: [PATCH] [ImGui] Fix empty IDs --- src/xenia/gpu/trace_viewer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/gpu/trace_viewer.cc b/src/xenia/gpu/trace_viewer.cc index 0d43b0a5e..a58527f5c 100644 --- a/src/xenia/gpu/trace_viewer.cc +++ b/src/xenia/gpu/trace_viewer.cc @@ -261,7 +261,7 @@ void TraceViewer::DrawControllerUI() { } ImGui::SameLine(); - ImGui::SliderInt("", &target_frame, 0, player_->frame_count() - 1); + ImGui::SliderInt("##", &target_frame, 0, player_->frame_count() - 1); if (target_frame != player_->current_frame_index() && !player_->is_playing_trace()) { player_->SeekFrame(target_frame); @@ -557,7 +557,7 @@ void TraceViewer::DrawCommandListUI() { } ImGui::PushItemWidth(float(column_width - 15)); - ImGui::SliderInt("", &target_command, -1, command_count - 1); + ImGui::SliderInt("##", &target_command, -1, command_count - 1); ImGui::PopItemWidth(); if (target_command != player_->current_command_index() &&