mirror of https://github.com/AxioDL/metaforce.git
Pop inactive color before View button
This commit is contained in:
parent
23f92d450a
commit
1559441431
|
@ -216,12 +216,12 @@ void ImGuiConsole::BeginEntityRow(const ImGuiEntityEntry& entry) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGuiConsole::EndEntityRow(const ImGuiEntityEntry& entry) {
|
void ImGuiConsole::EndEntityRow(const ImGuiEntityEntry& entry) {
|
||||||
|
ImGui::PopStyleColor();
|
||||||
if (ImGui::TableNextColumn()) {
|
if (ImGui::TableNextColumn()) {
|
||||||
if (ImGui::SmallButton("View")) {
|
if (ImGui::SmallButton("View")) {
|
||||||
ImGuiConsole::inspectingEntities.insert(entry.uid);
|
ImGuiConsole::inspectingEntities.insert(entry.uid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::PopStyleColor();
|
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue