mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
devtools: batch highlight only for non-group viewer
This commit is contained in:
parent
5462f67f0d
commit
35b397eae7
@ -1306,7 +1306,7 @@ void CmdListViewer::Draw(bool only_batches_view) {
|
|||||||
if (batch.id == batch_bp) { // highlight batch at breakpoint
|
if (batch.id == batch_bp) { // highlight batch at breakpoint
|
||||||
PushStyleColor(ImGuiCol_Header, ImVec4{1.0f, 0.5f, 0.5f, 0.5f});
|
PushStyleColor(ImGuiCol_Header, ImVec4{1.0f, 0.5f, 0.5f, 0.5f});
|
||||||
}
|
}
|
||||||
if (batch.id == highlight_batch) {
|
if (batch.id == highlight_batch && !group_batches) {
|
||||||
PushStyleColor(ImGuiCol_Text, ImVec4{1.0f, 0.7f, 0.7f, 1.0f});
|
PushStyleColor(ImGuiCol_Text, ImVec4{1.0f, 0.7f, 0.7f, 1.0f});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1459,7 +1459,7 @@ void CmdListViewer::Draw(bool only_batches_view) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (batch.id == highlight_batch) {
|
if (batch.id == highlight_batch && !group_batches) {
|
||||||
PopStyleColor();
|
PopStyleColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user