summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Linn <jl@conductive.de>2022-09-22 13:57:08 +0200
committerRick Gibbed <rick@gibbed.us>2022-12-28 14:16:32 -0600
commit8f88bb237ebd2b9fd41410aa577425ad1860fe95 (patch)
treec64417261ef97b1965ec1a6d5fb0c293ce5d1cc9 /src
parentb107af68bc3734bca7d61d1cb87c1fdb02f0b441 (diff)
[ImGui] Fix empty IDs
Diffstat (limited to 'src')
-rw-r--r--src/xenia/gpu/trace_viewer.cc4
1 files 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() &&