mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Prevent seeking while playing a trace.
This commit is contained in:
parent
e35fdff632
commit
a7f6c1a09c
|
|
@ -446,8 +446,10 @@ void TraceViewer::DrawCommandListUI() {
|
|||
break;
|
||||
}
|
||||
if (ImGui::Selectable(label, &is_selected)) {
|
||||
if (!player_->playing_trace()) {
|
||||
player_->SeekCommand(i);
|
||||
}
|
||||
}
|
||||
ImGui::SameLine(column_width - 60.0f);
|
||||
ImGui::Text("%d", i);
|
||||
ImGui::PopID();
|
||||
|
|
|
|||
Loading…
Reference in a new issue